Port Autumn.wasm refactor from MARA monorepo#1
Merged
Conversation
Brings the standalone Autumn.cpp tree in line with the version vendored at MARA/MARA/domains/autumnbench/Autumn.wasm/. Largest change is the AST refactor: Expr/Stmt now use direct eval(Interpreter&)/exec(Interpreter&) methods instead of the visitor pattern, and identifiers are interned through Autumn::Interner (Symbol = const std::string*) for fast equality and stable iteration. Adds new src/interpreter/ExprMethods.cpp and include/interpreter/Interner.hpp. Build/packaging updates: - CMakeLists.txt: C++20, scikit-build-core/pybind11 wheel layout (installs to MARA/autumn_cpp/), in-tree .venv auto-detection - pyproject.toml: cibuildwheel matrix for cp312/313/314 across manylinux x86_64+aarch64 and macosx x86_64+arm64 - .github/workflows/build.yml: build_wheels (4-OS matrix), build_wasm (emcmake), tag-triggered release - README rewritten around uv + cmake + wheel install + WASM Cleanup of dead/redundant files: - include/static_analyzer/ (never used, broken visitor sketch) - testInterpreters/ (broken demos, never wired to ctest) - Makefile (subsumed by CMakeLists) - environment.yml, requirements.txt (subsumed by pyproject.toml) - python_test.py (arcade-only, can't run headless) New sexp programs from MARA were intentionally NOT brought over.
Contributor
Author
|
Once this gets merged, we need to remember to update the wiki page. |
datvo06
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the standalone Autumn.cpp tree in line with the version vendored at MARA/MARA/domains/autumnbench/Autumn.wasm/. Largest change is the AST refactor: Expr/Stmt now use direct eval(Interpreter&)/exec(Interpreter&) methods instead of the visitor pattern, and identifiers are interned through Autumn::Interner (Symbol = const std::string*) for fast equality and stable iteration. Adds new src/interpreter/ExprMethods.cpp and include/interpreter/Interner.hpp.
Build/packaging updates:
Cleanup of dead/redundant files:
New sexp programs from MARA were intentionally NOT brought over.