[gambit-list] Compiling "post-reader" forms?

Nathan Sorenson takeoutweight at hotmail.com
Sun Jun 2 17:25:54 EDT 2013


> What's the best way to do this for gsc? I've tried using -e but it doesn't seem to affect the compiler's reader:
> gsc -e "(readtable-eval-allowed?-set (current-readtable) #t)" test.scm

Nevermind! I didn't realize the readtable-eval-allowed?-set didn't mutate the readtable. This seems to work:

gsc -e "(current-readtable (readtable-eval-allowed?-set (current-readtable) #t))" -exe test.scm
  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130602/773a990f/attachment.htm>


More information about the Gambit-list mailing list