Function parse

  • Parse an expression.

    Parameters

    • input: string

      expression to parse, as defined in the PS3 handout

    Returns Expression

    expression AST for the input

    Throws

    Error if the expression is syntactically invalid

Generated using TypeDoc