Sedenion Engine is an open-source project that offers a scientific calculator and CAS (Computer Algebra System) solver. This repository contains the Rust source code used by Sedenion to parse and evaluate expressions.
To build the Sedenion engine to WebAssembly (wasm), follow these steps:
- Make sure you have
wasm-pack
installed on your system. - Execute the following command:
wasm-pack build --target bundler
. - The NPM package will be generated and stored in the
pkg
directory.
This project is licensed under GNU GPL-v3. You can find more detailed information in the LICENSE
file located in the root of this repository.
Currently Sedenion engine only supports numerical evaluation.
To use the Sedenion Engine in your project, follow the steps below:
-
Install the NPM package generated during the build process.
npm install sedenion_engine
-
Import the Sedenion module in your JavaScript or TypeScript code.
import {} from 'sedenion-engine';
-
Call the functions in your app.
const result = evaluate('2 + 2'); console.log(result); // Output: 4
We welcome contributions from the community to enhance Sedenion Engine further. If you want to contribute, please follow the guidelines outlined in the contributing.md
file.
If you encounter any issues or have questions regarding the Sedenion Engine, please open an issue on our GitHub repository.
We would like to express our gratitude to all the developers and contributors who have made this project possible.