akeep / nanopass-framework-racket

Racket port of the nanopass-framework
MIT License
34 stars 9 forks source link

Wrong error #11

Closed soegaard closed 9 years ago

soegaard commented 9 years ago

The following program gives an internal error. A better error message would be: "Lsrc is not defined as a language" Also the source location for the error should be Lsrc.

lang nanopass

(define-language L1 (extends Lsrc) (Expr (e) (- (if e0 e1))))

The current error:

nanopass-framework-racket/private/language.rkt:242:31: syntax-local-value: not defined as syntax identifier: #