API Reference expression v2.22.0
modules
Modules
Documentation for Expression
, a library to parse and evaluate
Floip compatible expressions
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
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.
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.
Compatibility module to make the transition from V1 to V2 a bit easier, hopefully.
An compiler for AST returned by Expression.V2.Parser.
The context supplied to a function generated by Expression.V2.Compile.compile/1
A module for keeping track of context variables.
This mostly just behaves like a regular Map with the exception
that when a variable doesn't exist in the context, it returns
a %ContextVars{}
map that keeps track of the path that
was requested.
A NimbleParsec parser for FLOIP expressions.