Crate welly_parser

Source

Modules§

ast
bracket
Welly’s bracket matcher.
expr
Welly’s expressions.
lexer
Welly’s lexer.
parsers
Re-exports all the Welly Parse implementations and [Brackets].
stmt
Welly’s imperative statements.
word
Welly’s words, including keywords.

Structs§

Buffer
A growable source file that can be parsed incrementally.
Characters
A Stream through a str.
Context
A high-level wrapper around an input Stream.
EndOfFile
Represents the end of the source code.
Invalid
The error type of AST::validate().
Loc
Represents a T with a Location.
Location
A position in source code in a form that can be reported to the user. More precisely, a Location represents a contiguous range of bytes of source code.
Token
Represents a parse Tree or a parse error, with a Location.

Traits§

AST
Represents a valid abstract syntax tree of some valid Welly source code.
Parse
Parse a Stream.
Stream
Yields Tokens.
Tree
A type that represents a generous parse tree.