Skip to content

softaria/semantic-math-processor-client

Repository files navigation

semantic-math-processor-client

Build Test npm

Semantic Math Processor Client is a plugin for SemanticMathEditor and a client for MathProcessor.

Being a plugin for SemanticMathEditor it allows processing math formula created in the online math editor using MathProcessor - a REST wrapper around Sympy - open source Computer Algebra System.

As a result you have online web editor, which can do things like integration, taking derivatives, calculating limits, creating plots, comparing if two math expressions are equivalent and so on.

See it in action

https://math-editor.com/integrationsDemo.html

Try it locally

  1. Checkout the project
  2. Ensure you have npm
  3. Run following commands
npm install
npx webpack
  1. Open testEquiv.html and testSimplify.html in you browser (do not move the html files - open them in place)

By default it communicates with our copy of the MathProcessor installed at https://math-processor.math-editor.com

Feel free to run your own copy of the MathProcessor and replace its address in testEquiv.html and testSimplify.html with your host name or localhost.

To start your own copy of the MathProcessor just run:

  docker run -d -p "80:5000" softaria/math-processor

where 80 is your local port

Install it from npm

npm i semantic-math-processor-client

Read the documentation

https://softaria.github.io/semantic-math-processor-client