Discussion:
compile-file and enviornments 2
Matt Wette
2018-07-24 13:20:27 UTC
Permalink
This pertains to maintaining a symbol table while reading extension languages
using compile-file. Another solution, maybe preferable, is to detect in the
spec file whether the input is iteractive or a file. Will the following work?

(define-language nx-javascript
#:reader (lambda (p e) (if (eq? e (interaction-enviornment))
(js-stmt-reader p e)
(js-file-reader p e)))
...)

Matt

Loading...