hello,
i try to add support for r6rs in my SRFI-105 reader, used this way:
#lang reader "../src/SRFI-105.rkt"
it used to return a module like this, reading an input file stream :
(define (literal-read-syntax src in)
(define lst-code (process-input-code-tail-rec in))
(module aschemeplusprogram racket ,@lst-code))
i'm facing the problem that in Racket r6rs support is declared by a #!r6rs statement at the top of a file or by something that start with (module ar6rsprogram r6rs .....
which is a bit strange as module in r6rs are declared with library and anyway #!r6rs is non standart in scheme.
I do not intend here to change Racket,even if i though the #lang language statements are causing those sort of problem as beingnon standart and it is better to use only some parenthesis expression such as (module foo racket code goes here... form .
So now i must have 2 statement in my produced code:
#!r6rs
(module aschemeplusprogram racket ,@lst-code)
but i do not know how to make the #lang reader accept not only 1 statements but 2 ?
regards,
damien