ELR Parser/scanner generator with lexical conflict resolution
Be the first to post a text review of Elr. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Fixed string stack bug (stack left in an incorrect position following reduction and string shift) Fixed fencepost error in lalr generation (broke horribly if the number of terminals was a multiple of 32) Added expected tokens information to parser error output. Added #line directives to generated output Started adding CppUnit based unit tests
Fix ambiguity in the input grammar (all directives now end in either a semicolon or a block) Preliminary C++ support.
Fix -v command line flag Fix line/column counting Change parser return type to the type of the start symbol. Add shift/reduce conflict warnings Add "expected conflicts" flag (ala Cup) Add case-insensitive grammar flag Add disable automatic disambiguation flag Add parser name grammar flag Add command-line usage help Add automatic typing of default reductions along with some basic type sanity checking. Add ability to generate simple header files Remove useless debugging information
First release version post-prototype. It generally works as one would expect, but is lacking in documention and diagnostics. It has not been extensively tested and probably contains bugs. It also has no ability to disable the lexical disambiguation, which makes it unsuitable for many existing reserved-word based languages.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?