Algosim documentation: parse

parse

Parses an Algosim expression.

Syntax

Description

If s is a string containing an Algosim expression, then parse(s) returns a string containing the parsed interpretation of s as an abstract syntax tree.

Examples

parse("n^2/(√3 + 1)")
FCN_Divide
    FCN_Power
        n
        2
    FCN_Add
        FCN_Sqrt
            3
        1

See also