Lex and Yacc

So, how many of you know what is Lex and Yacc ? In short Lex and Yacc are the building blocks of any programming language compilers. If you master it, you can write any programming language of your own and create a compiler using lex and yacc to understand that language.

Lex creates tokens from your programming language and Yacc uses this tokens and puts grammer to it.

The concepts would be much more clearer if you go through this videos.

 

Lex and Yacc is not very easy concept to master and it takes time to fully grasp it. Below are few more links on these.

Lex

Yacc

USING LEX WITH YACC

 

Lex and Yacc

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s