Boost Spirit vs Flex/Bison

From Jason Shankel's Wiki
Jump to: navigation, search
 
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!

Latest revision as of 05:38, 8 April 2012

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox