Documentation
¶
Overview ¶
Command calculator is a small PEG-generated parser that computes simple math using integers.
Example usage: $ calculator "3 + (2 - 5 * 12)"
Inspired by pegjs arithmetic example: https://github.com/pegjs/pegjs/blob/master/examples/arithmetics.pegjs
Click to show internal directories.
Click to hide internal directories.