Installation
Fa is in active development. Expect breaking changes.
Prerequisites
To test Fa locally, you need Rust installed.
Install it with rustup from https://rustup.rs .
Build the parser
The parser project lives in packages/parser and builds as the fa-parser crate.
From the repository root:
cargo build -p fa-parserRun the parser
The parser binary expects a file path and prints the parsed tree.
cargo run -p fa-parser -- path/to/file.faHello world
console.log("Hello, world")