Show HN: Woxi - Open-source Mathematica / Wolfram Language reimplementation
Woxi: A Rust-Powered Open-Source Reimplementation of Wolfram Language
Woxi is an open-source project that seeks to recreate the functionality of the Wolfram Language (Mathematica), developed entirely using the Rust programming language.
Woxi provides a versatile ecosystem for symbolic computation, allowing users to execute complex logic and graphics without relying on proprietary software.
🌐 The Woxi Playground
The project features an interactive playground that executes everything locally within your web browser. Users can quickly test expressions and visualize results.
Supported Operations include:
| Category | Example Functions |
|---|---|
| Mathematics | Primes, Factorize, Factorials |
| Data Manipulation | Map, Transpose, FoldList, NestList |
| Combinatorics | Permutations |
| Visualization | Plot |
🛠️ Ecosystem & Integration
Woxi is not limited to a single web page; it powers a variety of front-end experiences.
1. Interactive Playgrounds
- Standard: A quick-start interface to
Clear,Share, andRuncode. - Extended: A side-by-side layout featuring an editor and an output pane, which is
basicideal for multi-line logic and complex graphics.
2. Command-Line Interface (CLI)
For those who prefer the terminal, Woxi offers a robust CLI. You can:
- Evaluate a single expression using
woxi eval. - Execute
.wlsscript files. - Utilize Woxi as a shebang interpreter for system scripts.
# Example of evaluating an expression via CLI
woxi eval "Primes[100]"
3. Jupyter Integration
Woxi is fully compatible with the Jupyter ecosystem, supporting both local and cloud-based workflows.
- Install the kernel locally via
woxi install-kernel. - Use the bundled JupyterLite instance for a zero-install browser experience.
4. Woxi Studio
This is a dedicated native editor designed specifically for .nb (Wolfram Notebook) files. It supports:
- Cell-based editing and inline graphical rendering.
- Multi-format exports, including:
.ipynb(Jupyter)- Markdown
- (via
\begin{document}) - Typst and PDF
Whether you are performing a simple calculation or building a complex symbolic model, Woxi provides the tools to do it open-source.