[plt-scheme] custom language and #lang in PLT 4

From: YC (yinso.chen at gmail.com)
Date: Mon Jun 16 17:28:04 EDT 2008

Thanks Danny!

On Mon, Jun 16, 2008 at 2:10 PM, Danny Yoo <dyoo at cs.wpi.edu> wrote:

> > how do I use a custom language that lives in the current directory (i.e.
> > ".") in PLT 4 via #lang?
> >
> > I tried '#lang "file.scm"' and '#lang file' and they do not work.  The
> > manual says only alphanumeric, +, -, _, and / works in this position.
>  Does
> > that mean we cannot have languages live in the current directory?
>
> Use the s-exp language, which will take the very next s-expression and
> treat that as the language.
>
> i.e.
>
> #lang s-exp "file.scm"
> ...
>
> I'm not sure where this is documented.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080616/488f4423/attachment.html>

Posted on the users mailing list.