[][src]Crate ssexp

Modules

functions

Defines useful helper and starting functions.

Structs

CharHandle

A handle for handling the next character

MacroMap

A map for storing the macro characters and their behaviours. Every character may be set as macro character.

Parser

Used in parsing process for getting chars and calling the macro functions.

Enums

ParsingState

Useful for managing opening and closing subcontexts like brackets.

Token

Represents the tokens of the s-expressions. An s-expression may be a list of symbols and other s-expressions or a symbol.

Functions

parse_sexp

The main function for running the parser. It takes some input stream, a macro function, and a macro map.

Type Definitions

MacroFn

The function type for macro functions.