Module z_expression

Expression parsing and evaluation.

Copyright © 2011 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Expression parsing and evaluation.

Function Index

eval/3Evaluate a parsed expression tree.
parse/1Parse an expression to an expression tree.

Function Details

eval/3

eval(Tree, Vars, Context) -> any()

Evaluate a parsed expression tree.

parse/1

parse(Expr) -> any()

Parse an expression to an expression tree. Uses the template_compiler parser.


Generated by EDoc