Module teko::parse [] [src]

Parsing interface for Teko.

Provides utility functions as well as primitives for parsing Teko.

extern crate teko;
assert![teko::parse::parse_string("(+ 1 2 3) (' a (b) c)").is_ok()];

Functions

finish_parsing_characters

Convert the parser into an actual program

is_empty

Check if the parser is empty.

is_ready_to_finish

Let us know if the parser can safely call finish_parsing_characters.

parse_character

Parses character-by-character to allow parsing from arbitrary character sources.

parse_file

Parse a File into a Program

parse_string

Parse a String into a Program