Skip to content

Parse algebraic expressions and equations as string and convert them to algebra.js representation

Notifications You must be signed in to change notification settings

timrach/algebra-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Note: This parser was integrated into the algebra.js library. There should be no reason to use this module except you just want to.

#Usage

Create a parser object and pass the equation or expression to the 'parse' method. According to the input it returns an Equation or Expression object from the algebra.js module:

var Parser = require('algebra-parser');

var p = new Parser();
var eq = p.parse("x^2 + 4 * x = 16");

#Demo I put a demo online, check it out

About

Parse algebraic expressions and equations as string and convert them to algebra.js representation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published