July 2017
Intermediate to advanced
466 pages
11h 24m
English
The first part of the process we need to tackle is parsing the user-provided string into something we can use programmatically. If you were to search for a parser generator, you would find a myriad of options, with tools such as Antlr and JavaCC showing up near the top. It's tempting to turn to one of these tools, but our purposes here are pretty simple, and the grammar is not all that complex. Our functional requirements include:
For something as simple as this, a parser is far too expensive, ...
Read now
Unlock full access