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

prefixexp #5

Open
3 tasks
mblayman opened this issue Oct 30, 2021 · 0 comments
Open
3 tasks

prefixexp #5

mblayman opened this issue Oct 30, 2021 · 0 comments
Milestone

Comments

@mblayman
Copy link
Owner

mblayman commented Oct 30, 2021

prefixexp ::= var | functioncall | ‘(’ exp ‘)’

# Needs:
var ::=  Name | prefixexp ‘[’ exp ‘]’ | prefixexp ‘.’ Name 
functioncall ::=  prefixexp args | prefixexp ‘:’ Name args 

# tableconstructor is #6 
args ::=  ‘(’ [explist] ‘)’ | tableconstructor | LiteralString
explist ::= exp {‘,’ exp}
  • var
  • functioncall
  • '(' exp ')'
@mblayman mblayman added this to the Expressions milestone Oct 30, 2021
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