Boost Spirit vs Flex/Bison
From Jason Shankel's Wiki
Line 110: | Line 110: | ||
Language development is difficult enough without sacrificing readable, meaningful, context-aware error messages. | Language development is difficult enough without sacrificing readable, meaningful, context-aware error messages. | ||
+ | |||
+ | = Update = | ||
+ | |||
+ | Reader Jeff Tull contributed this solution to the shift-reduce problem. In a nutshell, the | and & operators are defined as a zero-or-more repeating subterm. Makes sense. You can check out his code here: | ||
+ | |||
+ | https://gist.github.com/2333218 | ||
+ | |||
+ | Thanks for the help, Jeff! |