The following works: $ echo '#lang racket "hello world"' > hw.rkt $ racket hw.rkt "hello world"
ie. racket is a multi-language language, so you must first tell it in what language you're writing. That's of course an overhead compared to mono-language languages ;) -- Éric On Nov 16, 2012, at 2:24 PM, Anthony Carrico wrote: > Also, the example doesn't work: > > $ echo '"hello world"' > hw.rkt > $ racket hw.rkt > default-load-handler: expected a `module' declaration > found: something else > in: #<path:/tmp/hw.rkt> > context...: > standard-module-name-resolver > > > -- > Anthony Carrico > > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users