Wilang Documentation1.0.0+4

parser#

Create a parser object that keeps a context of variables and their values, allowing the evaluation of expressions in that context.

Available in: math cells, REPL.

Syntax#

parser()

Arguments and behavior#

Creates a separate parser object; its values are not the note scope. For ordinary calculations use your note or REPL session. This example inspects the parser type without changing another session.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
typeOf(parser())

Expected result: "r".

See also#

evaluate · parse · compile

All functions · Math guides