Yes, but I'm looking for the most elegant......
Printable View
Yes, but I'm looking for the most elegant......
In what terms? According to me the most elegant way is to do it in two passes - one constructs the syntax tree and the other validates and operates on it.
boost spirit is a good parser to use.i've used it for a simple scripting language.