fatou-parser
A lossless CST parser, typed AST wrappers, and incremental reparser for the Julia language, built on rowan.
This is the parsing engine of fatou, extracted into its
own crate so other tools can embed it. The tree preserves every byte of the
input (including whitespace and comments), parse errors are recoverable
diagnostics rather than failures, and edited buffers can be reparsed
incrementally. The crate builds for wasm32-unknown-unknown: it uses no
filesystem, process, thread, or clock facilities.
Usage
use parse;
let output = parse;
assert!;
assert_eq!;
Status
This crate's API is still early and may change between releases; it is
versioned independently of the fatou CLI.
Documentation
- API documentation
- fatou, the project this crate is extracted from