Pantagruel v0.0.7 Pantagruel.Parse.Expressions View Source

This module encodes the function application binding rules in Pantagruel.

Link to this section Summary

Functions

Given a list of expressions representing an object/method-style function application, construct an AST

Parse a string into a float

Given a list of expressions representing function application, construct an AST

Link to this section Functions

Link to this function parse_dot_expression(_, expressions, context, _, _) View Source
parse_dot_expression(
  binary(),
  Pantagruel.Parse.t(),
  map(),
  pos_integer(),
  pos_integer()
) :: Pantagruel.Parse.t()

Given a list of expressions representing an object/method-style function application, construct an AST.

Link to this function parse_float(_, list, context, _, _) View Source

Parse a string into a float.

Link to this function parse_function_application(rest, expressions, context, line, offset) View Source
parse_function_application(
  binary(),
  Pantagruel.Parse.t(),
  map(),
  pos_integer(),
  pos_integer()
) :: Pantagruel.Parse.t()

Given a list of expressions representing function application, construct an AST.