How is parsing phase in a compiler different from a rule engine ?

Posted by abhinav on Stack Overflow See other posts from Stack Overflow or by abhinav
Published on 2010-05-06T08:22:46Z Indexed on 2010/05/06 8:28 UTC
Read the original article Hit count: 364

Filed under:
|
|

Hi, I have a rough understanding of how the compilers work (I mean languages, grammars, lexical analysis, parsing etc). The rule engines have various rules and associated action, just like you have rules in the grammars and you can associate actions with them in parser-generator tools like ANTLR. So I am a bit confused on how to differentiate between these two. Could anyone give a clearer, more formal explanation for the differences ?

Thanks, Abhinav.

© Stack Overflow or respective owner

Related posts about compilers

Related posts about parsing