Synth
Developer GuideCompiler & EDA Crates

synth-parser Crate

Lexer and parser pipeline for Synth hardware specifications.

synth-parser Crate

The synth-parser crate implements lexing and parsing of .synth source files into synth-ast data structures using zero-copy tokenization.

Key APIs

use synth_parser::parse_source;

let source = std::fs::read_to_string("board.synth")?;
let ast = parse_source(&source)?;

On this page