smithery.ai

parser-tree

Parse Reussir source code and inspect / validate the surface AST.

First seen Mar 25, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMPL-2.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,335 B
  • docs SUMMARY.md 64 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

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).