Now that the evaluate method returns an unflattened tree structure with s-expression like data, I need to do some more work to determine what the tree representation should look like.
One particular question is whether the :choice and :concat nodes could be simplified in cases where there is only a single production rather than multiple choices.
The best way to resolve this is probably to try generating some interesting trees and seeing what is useful in practice.
Now that the evaluate method returns an unflattened tree structure with s-expression like data, I need to do some more work to determine what the tree representation should look like.
One particular question is whether the
:choiceand:concatnodes could be simplified in cases where there is only a single production rather than multiple choices.The best way to resolve this is probably to try generating some interesting trees and seeing what is useful in practice.