I need to write a simple parser to a sort of Domain Specific Language.
It needs to have basic arithmatics with proper operators evaluation order and a syntax to call functions of the underlying environment which can be overloaded.
What is the simplest way to write such a parser? Is there something I can adapt or use out of the box? I'm writing in C++.
views:
529answers:
4
+1
A:
See MetaII parser technology. This tutorial walks you through everything:
Ira Baxter
2009-07-15 00:15:00