johngunderman/fuzzbuzz — Issue #2: Convert a grammar into a PLY parser.
Author: timtadh
Created: 2012-02-20 02:43:56+00:00
State: open

Write a converter (should be a new engine) which takes the given grammar and converts it to a parser. The parser should create parse trees.

## Parse Tree Format

Use `fuzzbuzz.frontend.ast.Node` to create your parse tree. Each the parse trees created should be similar to the ones created by the hand written parsers in the `gramstat` `test` directory.

## Integration with `bin/fuzzbuzz`

Register your engine in `fuzzbuzz/engines/__init__.py`. Create a way for engines to declare extra required arguments. Have those arguments automatically passed to only those engines who declared them. All engines should receive the grammar and reverse lexer.