Farkle


Farkle Namespace

Type/Module Description

AST (Module)

Functions to work with `AST`s.

AST (Type)

A domain-ignorant Abstract Syntax Tree that describes the output of a parser.

FarkleError

A type signifying an error during the parsing process.

FarkleException

The base class for all exceptions that might be thrown from Farkle.

ITransformer<'TSymbol>

An interface that transforms tokens from a CharStream. It is implemented by PostProcessor{TResult}s.

ITransformerContext

A type that is passed to the transformers and provides additional information about the terminal being transformed.

ParserApplicationException

A parsing error that did not originate from the parser, but from user code during post-processing.

ParserException

An exception thrown by Farkle's parser on a snytax or lexical error.

Position

A point in 2D space with integer coordinates, suitable for the position of a character in a text.

PostProcessor<'T>

Post-processors convert strings of a grammar into more meaningful types for the library that uses the parser.

PostProcessorException

An exception thrown by Farkle when the post-processor throws another exception. That exception is wrapped to this one.

PostProcessors

Some reusable `PostProcessor`s.

RuntimeFarkle

Functions to create and use `RuntimeFarkle`s.

RuntimeFarkle<'TResult>

A reusable parser and post-processor, created for a specific grammar, and returning a specific type of object that best describes an expression of the language of this grammar.