At Thu, 5 May 2016 17:32:20 -0700 (PDT), Jack Firth wrote: > 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.
Either could work, but an uppercase "I" avoids first loading `racket`. > Does that evaluate the file as if it were entered in a REPL? Yes. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

