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

Re: Now, to try again...

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
December 19, 2000 01:59
Subject:
Re: Now, to try again...
Message ID:
200012190959.JAA14927@mikado.tiuk.ti.com
David Grove <pete@petes-place.com> 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 <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About