Hacker News new | ask | show | jobs
by lsferreira42 1404 days ago
Do you have an example of a simple parser like that?
1 comments

https://gist.github.com/revivalizer/935dfcc345b009a0207a033c...

Even includes error handling :)

At the bottom you can see some test examples of what it can do. Obviously it is a basic calculator.