Re: Now, to try again...

[email protected] (Nick Ing-Simmons) Tue, 19 Dec 2000 09:59:00 GMT
Newsgroups perl.perl6.internals.api.parser
Organization via, but not speaking for : Texas Instruments Ltd.
Message-ID <[email protected]>
David Grove <[email protected]> writes:
>
>Because what is the parser/lexer/tokenizer parsing? Perl? Pythonic?
>Javanese? 

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
here.

(Nick just passing through...)

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