AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Wolfram Language 코드를 브라우저 플레이그라운드, CLI, Jupyter, 혹은 Woxi Studio 노트북 편집기에서 실행합니다
Run Wolfram Language code in the browser playground, on the CLI, in Jupyter, or in the Woxi Studio notebook editor.
개발 도구Rust · Wolfram LanguageGitHub @ad-si온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Wolfram Language / Mathematica reimplementation in Rust (Wolfram oxidized)
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗An interpreter for the Wolfram Language powered by Rust.
You can find the official documentation at woxi.ad-si.com/docs.
The initial focus is to implement a subset of the Wolfram Language so that it can be used for CLI scripting and notebooks. For example:
#!/usr/bin/env woxi
(* Print the square of 5 random integers between 1 and 9 *)
RandomInteger[{1, 9}, 5] // Map[#^2&] // Map[Print]
It has full support for Jupyter Notebooks including graphical output:
[!TIP] Try it out yourself in our JupyterLite instance!
Check out the CLI tests directory to see all currently supported commands and their expected output. All tests must pass with Woxi and WolframScript.
Also check out the functions.csv file for a list of all Wolfram Language functions and their implementation status.
Woxi runs faster than WolframScript as there is no overhead of starting a kernel and verifying its license.
You can easily install it with Rust's cargo:
cargo install woxi
Every GitHub release ships archives
of the woxi CLI and the Woxi Studio notebook editor for
Linux, macOS, and Windows (x86-64 and arm64),
alongside a SHA256SUMS.txt to verify them against.
The macOS build of Woxi Studio comes as a Woxi Studio.app bundle.
It is not notarized, so macOS quarantines it after the download —
remove the flag once after unzipping:
xattr -dr com.apple.quarantine "Woxi Studio.app"
Woxi is also available on npm as woxi-wasm
as a WebAssembly build with JavaScript bindings (see npm/):
npm install woxi-wasm
import { evaluate } from "woxi-wasm"
evaluate("Plus[1, 2]") //=> "3"
Woxi is also available on PyPI as a Python package with pre-built wheels:
pip install woxi
import woxi
woxi.interpret("Plus[1, 2]") # => '3'
See woxi-py/readme.md for the full Python API.
If you want to build Woxi from source, you need to have Rust installed. You can get it from rust-lang.org.
Clone the repository, build the project, and install it:
git clone https://github.com/ad-si/Woxi
cd Woxi
make install
On macOS, make install additionally builds the Woxi Studio notebook editor
and installs it as a .app bundle at /Applications/Woxi Studio.app,
registered with Launch Services so that .nb, .wl, and .wls files appear
under Finder's "Open With…" menu.
You can use the interpreter directly from the command line:
woxi eval "1 + 2"
# 3
woxi eval 'StringJoin["Hello", " ", "World!"]'
# Hello World!
Or you can run a script:
woxi run tests/scripts/hello_world.wls
Or start an interactive REPL, where definitions and % / Out[] history
persist across inputs:
woxi repl
# In[1]:= x = 5
# Out[1]= 5
# In[2]:= x^2
# Out[2]= 25
You can also use Woxi in Jupyter notebooks. Install the kernel with:
woxi install-kernel
The kernelspec is embedded in the woxi binary,
so this works from any directory and with any installation method.
It is registered with jupyter kernelspec install when the jupyter command
is available, and written to Jupyter's kernels directory directly otherwise.
Use --system to install it for all users instead of only the current one.
Then start the Jupyter server:
cd examples && jupyter lab
Or simply use our JupyterLite instance. It runs fully self-contained in your browser and no data is send to the cloud.
Woxi ships a Language Server Protocol server for the Wolfram Language:
woxi lsp
It speaks LSP over stdin/stdout, which is how editors start it, and provides
Configure your editor to run woxi lsp for .wl, .wls, .m and .nb
files. For Neovim's built-in client that is:
vim.lsp.config.woxi = {
cmd = { "woxi", "lsp" },
filetypes = { "wolfram" },
root_markers = { ".git" },
}
vim.lsp.enable("woxi")
| Woxi | WolframScript |
|---|---|
woxi eval "1 + 2" | wolframscript -code "1 + 2" |
woxi run script.wls | wolframscript script.wls |
woxi run notebook.nb | not supported (can't run .nb files directly) |
woxi repl | wolframscript (no arguments) |
woxi lsp | not supported (no language server) |
Contributions are very welcome! Please feel free to submit a Pull Request.
To run the test suite:
make test