Skip to content
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
README.md

README.md

Parsing text with JavaScript

Text interpreter for simple math calculations. This is my blog post explaining how to build it.

Example

Simple example:

import calculator from 'calculator';

let input = '5 * 12';
let { output } = calculator.evaluate(input);
console.log(output) // [60]
You can’t perform that action at this time.