Probably the simplest thing is to make a copy of the given files and insert the #lang line at the top and then go from there.
You can mess around with namespace initialization to get some kind of an approximation to the #lang line for a single file, but it is messy and ultimately doesn't work as well. Robby On Thu, Sep 12, 2013 at 1:44 AM, Dmitry Pavlov <dpav...@ipa.nw.ru> wrote: > Robby, > > Generally speaking, Racket is set up to work well with the #lang lines, >> but not as well without. Lots of things get easier if they are there. >> > > I accept that thighs without #lang may be hard, but > doable nonetheless: for example, DrRacket can run > Algol 60 programs without the #lang line if one selects > "Algol 60" as the language in the bottom panel. > I grepped the DrRacket's sources on "make-evaluator"; > two matches found, seem unrelated. > > So there must be another way to do this. > > Regards, > > Dmitry > >
____________________ Racket Users list: http://lists.racket-lang.org/users