API Reference expression v#2.49.0

Copy Markdown

Modules

Documentation for Expression, a library to parse and evaluate Floip compatible expressions

Type definitions for the Expression abstract syntax tree.

Extract @expression_doc attributes from modules defining callbacks and automatically write doctests for those.

Use this module to implement one's own callbacks. The standard callbacks available are implemented in Expression.Callbacks.Standard.

The function callbacks for the standard function set available in FLOIP expressions.

A helper module for creating a context that can be used with Expression.Eval.

A structured error type for expression parsing and evaluation failures.

Expression.Eval is responsible for taking an abstract syntax tree (AST) as generated by Expression.Parser and evaluating it.

Expression.Parser is responsible for accepting a string containing an expression and returning the abstract syntax tree (AST) representing the expression.

Provides the ~EXPR sigil for compile-time expression validation and optional pre-parsing.

A second attempt at the parser, hopefully a little easier to read & maintain.

Extract @expression_doc attributes from modules defining callbacks and automatically write doctests for those.

Use this module to implement one's own callbacks. The standard callbacks available are implemented in Expression.V2.Callbacks.Standard.

Callback functions to be used in Expressions.

Deprecated compatibility module from the V1-to-V2 transition.

An compiler for AST returned by Expression.V2.Parser.

The context supplied to a function generated by Expression.V2.Compile.compile/1

A NimbleParsec parser for FLOIP expressions.