flutmax-parser
Parser for .flutmax files (hand-written lexer + recursive descent).
Part of the flutmax workspace.
Overview
A pure Rust parser with no external grammar dependencies. Includes a hand-written lexer and recursive-descent parser that produces an flutmax_ast::Program AST. A legacy Tree-sitter backend is available behind the tree-sitter-legacy feature flag.
Usage
use parse;
let source = "wire osc = cycle~(440);";
let ast = parse.expect;
Features
tree-sitter-legacy-- use the Tree-sitter grammar instead of the hand-written parser
License
MIT