Skip to main content

Crate wirespec_syntax

Crate wirespec_syntax 

Source
Expand description

wirespec-syntax: Parser and AST for the wirespec protocol description language.

This crate provides:

  • ast: All AST node types following AST_SCHEMA_SPEC.md
  • lexer: Hand-written tokenizer
  • parser: Recursive descent parser
  • span: Source location tracking

Re-exports§

pub use parser::parse;

Modules§

ast
AST node definitions for wirespec.
lexer
Hand-written lexer/tokenizer for wirespec.
parser
Recursive descent parser for wirespec.
span