feat: module system, bb CLI, regression test suite#7
Merged
Conversation
defn- -name was compiling to ns---name (triple-dash). Now strips the leading dash in both ns-qualify-name and emit-node :var, producing ns--name (standard Elisp private convention). Also: - eval-and-compile for runtime require (eager macro expansion) - clojure-core-vector/list defvars restored in runtime Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Three regression test files using hive-test property macros, mutation testing, and gold snapshots to guard against compiler regressions: - regression_naming_test: private fn triple-dash fix (f48384d) defprop-total, defprop-idempotent, defprop-complement, mutation test - regression_compile_project_test: macro registry isolation (7f1debe) defprop-total, defprop-complement, defspec, mutation tests, integration - regression_gold_test: exact-match snapshots for all emission categories literals, core mappings, special forms, ns, destructuring, protocols Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
d00016f to
e30921d
Compare
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.
Summary
clel.ednproject descriptor, cross-file symbol table (two-pass),:refer :allwildcard imports, incremental compilation with mtime trackingbin/clelscript with compile + watch subcommands, bbin-installabledefprop-total,defprop-idempotent,defprop-complement), mutation tests, and gold snapshotsTest plan
clojure -M:test— all tests pass (73 regression + existing suite)🤖 Generated with Claude Code