Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mathigon/hilbert.js

JavaScript expression parsing, MathML rendering and CAS.
https://github.com/mathigon/hilbert.js

cas expression-parsing mathematics mathml

Last synced: 2 days ago
JSON representation

JavaScript expression parsing, MathML rendering and CAS.

Awesome Lists containing this project

README

        

# Hilbert.ts

[![Build Status](https://github.com/mathigon/hilbert.js/workflows/CI%20Tests/badge.svg)](https://github.com/mathigon/hilbert.js/actions?query=workflow%3A%22CI+Tests%22)
[![npm](https://img.shields.io/npm/v/@mathigon/hilbert.svg)](https://www.npmjs.com/package/@mathigon/hilbert)
[![npm](https://img.shields.io/github/license/mathigon/hilbert.js.svg)](https://github.com/mathigon/hilbert.js/blob/master/LICENSE)

Hilbert.ts is a TypeScript library for expression parsing, simplification, and
MathML rendering. It was developed for [Mathigon.org](https://mathigon.org), an
award-winning mathematics education project.

## Open Issues

* [ ] Support for functions with subscripts (e.g. `log_a(b)`).
* [ ] Support for large operators (sum, product and integral).
* [ ] Parse ^ and _ operator from right to left (e.g. `2^2^2 == 2^(2^2)`).
* [ ] CAS Expression simplification algorithms, `equals()` and `same()` methods.
* [ ] More tests, including visual tests for MathML.

## Usage

First, install Hilbert.ts from [NPM](https://www.npmjs.com/package/@mathigon/hilbert)
using

```npm install @mathigon/hilbert```

Now, simply import all functions and classes you need, using

```js
import {Expression} from '@mathigon/hilbert'
```

## Contributing

We welcome community contributions: please file any bugs you find or send us
pull requests with improvements. You can find out more on
[Mathigon.io](https://mathigon.io).

Before submitting a pull request, you will need to sign the [Mathigon Individual
Contributor License Agreement](https://gist.github.com/plegner/5ad5b7be2948a4ad073c50b15ac01d39).

## Copyright and License

Copyright © Mathigon ([[email protected]](mailto:[email protected]))
Released under the [MIT license](LICENSE)