[plt-scheme] Syntax-objects in DrScheme
The plan is to, at some point, replace the syntax object browser in
drscheme with Ryan's.
Robby
On 6/9/07, Jens Axel Søgaard <jensaxel at soegaard.net> wrote:
> > Try this expression in the DrScheme repl:
> >
> > (with-syntax ([(x ...) #'(x1 x2 x3)])
> > (syntax
> > (y x ... z)))
>
> I just remembered browse-syntax from Ryan's syntax-browser:
>
> (require (lib "syntax-browser.ss" "macro-debugger"))
> (browse-syntax
> (with-syntax ([(x ...) #'(x1 x2 x3)])
> (syntax
> (y x ... z)))
>
> Which after activating the "Syntax Object" does what I want.
>
> Almost: I use a syntax-property to store a list of
> identifiers, so it would be great to see
>
> ( <syntax-object-snipt> ... )
>
> instead of
>
> ( #<syntax:line:col> ...) .
>
> But that's okay for now.
>
> Hmm. Would it make sense to add a button to syntax-object-snips
> that launch the syntax-browser from the macro-debugger
> collection?
>
> /Jens Axel
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>