ExDiceRoller v0.2.0-alpha ExDiceRoller.Compiler

Provides functionality for compiling expressions into ready-to-execute functions.

Link to this section Summary

Functions

Compiles a provided ExDiceRoller.expression/0 into an anonymous function

Link to this section Types

Link to this type compiled_function()
compiled_function() :: (() -> integer() | float())
Link to this type intermediary_value()
intermediary_value() :: compiled_function() | integer() | float()

Link to this section Functions

Compiles a provided ExDiceRoller.expression/0 into an anonymous function.