[plt-scheme] parser tools
You can write a lexer that just just directly looks at the port to
find the separator, or turn it into the eof token to just read
multiple programs from the port. Does that help?
Robby
2009/11/7 Ivanyi Peter <pivanyi at freemail.hu>:
> Hi,
>
> Is it possible to create a lexer and parser dynamically?
> I would like to create an application, which, for example, reads in a file
> which contains what the separator character is and after that
> the program can read in another file, but considers the separator
> character. Somehow I could not manage to create a variable, which
> then can be used in a lexer. Any way to do this?
>
> Thanks for any help.
>
> Best regards,
>
> Peter Ivanyi
>
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>