[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] ANN: first draft of R7RS small language available

2011/4/22 Alex Shinn <alexshinn@x>:
- 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
    (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