[gambit-list] reading shared structure conforming to SRFI-38

Sven Hartrumpf hartrumpf at gmx.net
Fri Jul 14 14:10:52 EDT 2017


Hi all.

The following code cannot read some larger structures conforming
to SRFI-38 (gambit 4.8.8).
Is there a size limit or similar to be configured?

> (define p (open-input-file "mm"))
> (define rt (input-port-readtable p))
> (readtable-sharing-allowed?-set rt #t)
> (define x (read p))
*** ERROR IN "mm"@78.25 -- Incomplete form

Note that the file mm can be read by
'read' or 'read-with-shared-structure' of other Scheme implementations.

If needed, I can send the file mm in a direct mail.

Greetings
Sven



More information about the Gambit-list mailing list