원클릭으로
parser-tree
Parse Reussir source code and inspect / validate the surface AST.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Parse Reussir source code and inspect / validate the surface AST.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Run MLIR conversions and translations.
Check if the environment is set up correctly for Reussir development.
Compile Reussir source code.
Elaborate Reussir source code.
Run the Reussir REPL to interpret Reussir source code.
Build and test Reussir with ASan, LSan, MSan, or TSan, especially when validating generated LLVM IR against the Rust runtime allocator path and future multithreaded code.
SOC 직업 분류 기준
| name | parser-tree |
| description | Parse Reussir source code and inspect / validate the surface AST. |
| license | MPL-2.0 |
You can use reussir-syntax (built with cmake --build build --target reussir-syntax; binary at build/bin/reussir-syntax) to parse Reussir source
code. It emits the surface AST as JSON, and can also just validate that a file
parses.
To check that a file parses (report diagnostics, no output on success):
build/bin/reussir-syntax --check tests/integration/frontend/fibonacci.rr
On a syntax error it renders each diagnostic with source context on stderr and exits non-zero; the parser recovers and reports every error, not just the first.
To emit the JSON surface AST (to stdout, or -o PATH):
build/bin/reussir-syntax tests/integration/frontend/fibonacci.rr -o -
The output is a single JSON document encoding the spanned AST, e.g.:
[{"contents":{"spanStartOffset":...,"spanValue":{"contents":{"recordDefaultCap":"Value",
"recordFields":{...}}}}}, ...]
For a human-readable view of the elaborated program instead of the raw parse
tree, prefer rrc --emit hir (see the elaboration skill). The detailed
structural assertions the parser needs are covered by reussir-syntax's own
Rust unit tests (cmake --build build --target rrc-test runs the crate suites).