calc-lang

1.0.0 • Public • Published

calc-lang

Calculator interpreter language.

Installation

npm install --save calc-lang

Examples

const Interpreter = require('calc-lang');
 
const interpreter = new Interpreter();
interpreter.run('jonny what is 13 * 37?');
interpreter.run('((1 + (2 * 3)) * 4) / 2');

Package Sidebar

Install

npm i calc-lang

Weekly Downloads

18

Version

1.0.0

License

MIT

Unpacked Size

28.9 kB

Total Files

12

Last publish

Collaborators

  • codenameyau