* compile-file and enviornments 2
@ 2018-07-24 13:20 Matt Wette
0 siblings, 0 replies; only message in thread
From: Matt Wette @ 2018-07-24 13:20 UTC (permalink / raw)
To: guile-user
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-24 13:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-24 13:20 compile-file and enviornments 2 Matt Wette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).