[][src]Crate silkworm_syn

Parser for the Yarn interactive dialogue language.

This crate is mostly intended to be an internal dependency of the silkworm project, an implementation of the Yarn interactive dialogue language in pure Rust. End users are expected to use silkworm, the user-facing API, instead of depending on this crate directly.

This crate contains the AST definitions for the language, a lexer, and a parser. All components assume that all sources logically reside in a continuous space that can be indexed using byte positions.

Modules

ast
lex
parse
ptr

The AST pointer.

symbol

Interned symbols

token

Structs

Error
Span