Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You're welcome. :]
The technique is just recursive descent parsing. It can do right-associative operators too, but it requires a rule for every precedence level. If you have lots of different precedences, there are better ways, but they are overly complicated if you have few.
I stole the solution from someone else on another parser / evaluator kata.