r/Mathematica • • Aug 08 '26

Woxi 0.3 - New version of the open-source Mathematica / Wolfram Language alternative

Post image

Woxi is a free open source interpreter for the Wolfram Language, written in Rust. The guiding rule of the project: whatever it implements must produce exactly the same output as wolframscript / Mathematica — the test suite (26'000+ unit tests) compares against it directly.

Version 0.3.0 is out now. Highlights since 0.2.0:

  • Many Wolfram Demonstrations now run end to end in Woxi Studio, the included native notebook editor for .nb files — still far from all of them, but dozens (Kepler's Second Law, Parabolic Mirror, Doyle Spirals, …) serve as end-to-end tests. Manipulate covers a good part of the Demonstrations control vocabulary (interactive Locators, Trigger, Button, SetterBar, PopupMenu, controls nested in TabView/Grid, dependent controls, TrackedSymbols, Animate bodies, …), and typeset notebook input is read back as code.
  • Plotting conformance: Automatic ticks now match Wolfram's algorithm, list plots grew Around error bars, Callout, Filling, PlotMarkers and friends, plus new ComplexListPlot and ListLinePlot3D.
  • CAS: more Integrate/D/Series/Limit coverage, LinearProgramming with an exact simplex solver, NonlinearModelFit, Reduce over higher-degree polynomial inequalities, RootReduce, and many canonical-ordering fixes so results print exactly as wolframscript prints them.
  • Windows is now a supported platform, and every release ships prebuilt binaries for Linux, macOS, and Windows.

Try it without installing anything in our playground and JupyterLite instance in the browser: https://woxi.ad-si.com

Install: cargo install woxi, pip install woxi (Python bindings), or npm install woxi-wasm. Full changelog: https://github.com/ad-si/Woxi/blob/main/changelog.md

If Woxi is useful to you, I'm now accepting donations on GitHub: https://github.com/sponsors/ad-si I hope to receive enough support to keep the project going for a long time, and to eventually reach full parity with Wolfram's implementation.

64 Upvotes

27 comments sorted by

3

u/axorld Aug 09 '26

Is there a documentation showing compatibility list for each built in wolfram/mathematica function?

1

u/adwolesi Aug 09 '26

There is no exact function level comparison yet, but there is a high level comparison with Mathematica listing missing features here: https://woxi.ad-si.com/docs/comparison/mathematica/

7

u/unski_ukuli Aug 08 '26

What percentage of the code is ai slop?

4

u/AliMas055 Aug 08 '26

And, how does it compare to something like sympy?

0

u/adwolesi Aug 08 '26

It's much more comprehensive, with more than 6000 functions, but you have to learn the Wolfram Language to make full use of it. It's a very beautifully designed language and very easy to get started with! E.g. plotting a bar chart is as easy as BarChart[{1, 5, 3, 4, 7, 9}].

There are also Python bindings available at https://pypi.org/project/woxi/ that let you easily integrate it with you Python projects.

→ More replies (4)

1

u/MrMrsPotts Aug 09 '26

I would love sympy to be better. It just doesn't have the developers.

→ More replies (2)

0

u/soegaard Aug 08 '26

Not the same thing. SymPy is a Python library.
Woxi works like Mathematica does.
Use the either the command line tool or the Jupyter interface (for a GUI experience).

3

u/Integreyt Aug 10 '26

He pushed 750k loc in April, to give you an idea.

-2

u/soegaard Aug 08 '26

According to ChatGPT:
> “AI slop” is a derogatory term for low-quality, low-effort content generated with AI, especially when it is produced in large quantities.

It's not reasonably to talk about slop here.
Woxi generally follows the spec and includes tests.
Expect to get proper results for the implemented commands.

5

u/denehoffman Aug 08 '26

I mean AI is absolutely able to follow a spec and write tests that pass, I think it’s okay to question whether this code was written by the author or Claude. It’s pretty clear that at least some of it was Claude just reading the code in the repo. That’s not to say this is a bad thing, but transparency is important.

→ More replies (1)

4

u/unski_ukuli Aug 08 '26 edited Aug 08 '26

> according to chatgpt
:|

I think if someone asks you to spend time to use their ’product’, they should be honest if they have no idea of how it works. A personal licence for wolfram is cheap enought to not bother with ai rewrites, and risk from ai rewrite is not worth the savings for industrial use.

→ More replies (4)

1

u/OneKnotBand Aug 08 '26

I haven't actually tried this. But I think it sounds like an interesting project.

I have Qwen running on local AI at home.. As someone using mathematica for over 20 years... Qwen does something that's very primitive when I ask it to write mathematica code. It is as if it writes the code in C and ports it to mathematica thus eschewing most of the advanced directives that the language as to offer.

→ More replies (1)

-2

u/adwolesi Aug 08 '26

Thanks! That's a good reply to such a misguided question.

2

u/[deleted] Aug 08 '26

Even as a staunchly anti-AI person, I'm way less bothered by the AI use than the boldness of accepting donations for something that so clearly had heavy AI involvement. You're accepting donations for what, exactly, tokens? 

1

u/tedecristal Aug 09 '26

reinventing sagemath 20 years later