[plt-scheme] ajax and plt

From: Dave Gurnell (d.j.gurnell at gmail.com)
Date: Fri Jul 3 03:48:22 EDT 2009

>> I didn't know you could set things up to switch between readers like
>> that with such simple syntax. It could be really useful. I have
>> contemplated an @-style syntax but I have lacked the PLT know-how to
>> set it up and experiment.
> Well, that's very easy now.  All you need is:
>  #lang at-exp scheme
> and then you have the scribble reader syntax.  You can then use any
> definition for `js' -- for example, you could define it as
> `string-append', or as a version of `string-append' that turns
> non-string values to strings, or construct some specific kind of
> values, or just use `list' and make the component that renders the
> final text spit out the pieces.  (The last one is what I usually
> prefer, which you can see in the `scribble/text' language.  The
> documentation language(s) uses the one before that.)

Of course. Dave told me about #lang at-exp a while ago.

This probably seems dense, but it didn't occur to me that I could use  
the @-reader and still write most of the module in regular  
parenthetical syntax. That's really cool.

-- Dave

Posted on the users mailing list.