Skip to content

Grammar coverage checklist #6

@smashwilson

Description

@smashwilson

This is a master list of the grammar constructs that need representation in the AST.

  • Statement lists.
  • Integer literals.
  • Float literals.
  • Strings.
  • Symbols.
  • Regular expressions.
  • Blocks.
  • ...with parameters.
  • Default block parameters.
  • Assignment.
  • Temporary variables.
  • Instance variables.
  • Binary operators.
  • ... ANDLIKE.
  • ... ORLIKE.
  • ... PLUSLIKE.
  • ... MINUSLIKE.
  • ... MULTLIKE.
  • ... DIVLIKE.
  • ... MODLIKE.
  • ... EXPLIKE.
  • NOT unary operator.
  • method calls:
  • ...with implicit receiver.
  • ...with explicit receiver.
  • ...comma-separated argument lists
  • ...space-separated argument lists

Concepts that haven't made it in to the lexer or grammar yet, and general cleanup.

  • String interpolation.
  • Parallel assignment.
  • Varargs and kwargs.
  • Unary minus.
  • Flatten invocation into expr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions