Re: ANN: first draft of R7RS small language available Aaron W. Hsu (24 Apr 2011 18:47 UTC)
Re: [Scheme-reports] ANN: first draft of R7RS small language available OKUMURA Yuki (22 Apr 2011 12:07 UTC)

Re: [Scheme-reports] ANN: first draft of R7RS small language available OKUMURA Yuki 22 Apr 2011 12:07 UTC

2011/4/22 Alex Shinn <alexshinn@gmail.com>:
- snip -
>  3) minimize conflicts between approaches, and put the burden
>      of bugfixes in these cases on the broken implementations

Is there any chance to put some annotation to module form? For example:

(module (mysyntax)
  (export boo)
  (import (scheme base))
  (keyword =>) ;;  keyword annotation
  (body
    (define-syntax boo
        (syntax-rules (=>)
            ...

If implementation had Chicken/Chibi like semantics, just ignore this annotation.
If implementation had R6RS like aux-syntax-should-be-bound semantics,
'generate' some binding from an anonymous module and bind it.

It's not "always work" solution, but i think it covers major use cases.
At least, i will implement some annotation scheme like this to make
possible to import R7RS modules into R6RS programs.
(And make code-beautifier happy..)

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports