develooper Front page | perl.perl6.internals.api.parser | Postings from December 2000

Re: Now, to try again...

Thread Previous | Thread Next
Nick Ing-Simmons
December 19, 2000 01:59
Re: Now, to try again...
Message ID:
David Grove <> writes:
>Because what is the parser/lexer/tokenizer parsing? Perl? Pythonic?

It is entierly possible to use one parser/lexer "engine" for multiple 
languages - for example a yacc/byacc/bison LALR(1) parser is a simple
state machine - all the language stuff is in the "data" part.
But switching lexer and parser's look-ahead "token" at language 
boundaries is a tad tricky. But that is probably not what is being discussed

(Nick just passing through...)

Nick Ing-Simmons <>
Via, but not speaking for: Texas Instruments Ltd.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About