[racket] realm of racket (roar!)

From: Eric Tanter (etanter at dcc.uchile.cl)
Date: Fri Nov 16 14:25:48 EST 2012

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



Posted on the users mailing list.