July 6, 2006 at 11:00 pm · Filed under C++, Tools Reviews
Bookmark on del.icio.us
When diving down among the various parser generators and compiler tools around, there is another one – beside BNFC – that sticks out: Spirit. A template-oriented library that is part of the terrific Boost libraries (http://www.boost.org.)
Whereas most tools rely on code generation, and even code generation generation (BNFC…), Spirit is a metaprogramming library that describes [...]
July 6, 2006 at 5:34 pm · Filed under Functional Programming, Tools Reviews, Language Reviews
Bookmark on del.icio.us
Parsing code is hard, and strictly limited to The Chosen Few. Right? No, wrong!
I know you are aware of some compiler compilers or parser generators out there – i.e., frameworks that let you specify annotated grammar descriptions, often using a BNF (Backus Naur Form) kind of syntax. The most famous parser generator is Yacc, which [...]