Thursday, June 26, 2008

How to Write a Parser / Translator Using Lex / Yacc

How to Write a Parser / Translator Using Lex / Yacc

These two can form two different passes of a Parser. The Lexical analysis can store all the recognized tokens in an intermediate file and give it to the Parser as an input. However it is more convenient to have the lexical Analyzer as a coroutine or a subroutine which the Parser calls whenever it requires a token.

www.ewalkins.com

Click Here TO View Full Details


www.ewalkins.com

No comments: