[plt-scheme] help with parser-tools collection
I'm not sure that would be worth the effort.
However, I've recently re-done the regexp language of the lexer for
v299 so that the programmer can define new regexp operators. I'll
release the changes soon, after I write some documentation.
-Scott
On Aug 9, 2004, at 5:21 AM, Noel Welsh wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
> --- Scott Owens <sowens at cs.utah.edu> wrote:
>
>> The lexer doesn't have built-in support for
>> case-insensitivity.
>> The best you can do is:
>> (define-lex-abbrevs (z (: "Z" "z")) (o (: "O" "o")) (n (:
>> "N" "n")) (e
>> (: "E" "e")))
>> (lexer
>> ...
>> ((@ z o n e) ...)
>> ...)
>
> If that's the best you can do you aren't even trying! Real
> men would hack the syntax by writing their own
> define-ci-lex-abbrev macro which expands into
> define-lex-abbrevs. Writing this macro is left as an
> exercise for the reader.
>
> Cheers,
> Noel
>
> =====
> Email: noelwelsh <at> yahoo <dot> com
> AIM: noelhwelsh
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com