Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grammar coverage checklist #6

Open
21 of 32 tasks
smashwilson opened this issue Apr 7, 2014 · 0 comments
Open
21 of 32 tasks

Grammar coverage checklist #6

smashwilson opened this issue Apr 7, 2014 · 0 comments

Comments

@smashwilson
Copy link
Owner

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant