On Thursday, May 5, 2016 at 5:28:06 PM UTC-7, Matthew Flatt wrote:
> At Thu, 5 May 2016 17:14:57 -0700 (PDT), Jack Firth wrote:
> > Suppose I have a file in some custom language, like #lang foo, but it omits 
> > the #lang foo line. Is there a way I can run the racket command line 
> > program 
> > in a way where it says "treat this file as if it starts with the line #lang 
> > foo"?
> 
> Not in general, but if a language supports the top level, then
> 
>  racket -I <language> -f <file>
> 
> might work.

Is that a lowercase L or an uppercase i? Both seem to work. Does that evaluate 
the file as if it were entered in a REPL?

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to