A source-aware ABC notation parser, validator, AST JSON serializer, and pretty printer.
Dependencies
moon run cmd/abc --target native check examples/demo.abc
moon run cmd/abc --target native analyze examples/demo.abc
moon run cmd/abc --target native format-check examples/demo.abc
moon run cmd/abc --target native json examples/demo.abc
moon run cmd/abc --target native benchmark examples/demo.abclet document = @abc.parse(source)
let diagnostics = @abc.validate(document)
let json = @abc.to_json(document).stringify(indent=2)
let canonical = @abc.pretty_print(document)
let profile = @abc.music_profile(document)src/abc/ reusable parser, AST, semantic analysis, diagnostics, and exports
cmd/abc/ native CLI entry point and command tests
examples/ runnable ABC inputs
fixtures/abc/ boundary and benchmark inputs
benchmarks/ reproducible benchmark instructions and evidence
docs/ schema, source notes, and API documentation
tools/ repository verification scripts
.github/ CI and manual package-publish workflowsmoon fmt --check
moon check --deny-warn --fmt
moon test --deny-warn
moon info
moon build --target native
moon build --target wasm-gc
powershell -File tools/count_moonbit_lines.ps1 -RequireMinimum 7000A source-aware ABC notation parser, validator, AST JSON serializer, and pretty printer.
Dependencies