Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Finish grammar #17

@LPGhatguy

Description

@LPGhatguy

In rough order of importance:

  • Precedence (I've been putting this off -- simple explanation of precedence climbing/Pratt parsing)
  • Assignment (depends on varlist)
  • Function Declarations
    • Correct function name declaration (currently only identifiers are allowed)
    • Vararg
    • Anonymous function expression
  • String literals
    • Regular single and double quote forms
    • Long-form strings
  • Comments
    • Infrastructure in tokens for comments
    • Single line comments
    • Multi-line comments
  • Generic For (for-in)
  • Remaining binary operators
  • Function call without parentheses
  • Semicolon as statement separator
  • ParenExpression ('(' expression ')')
  • Lua 5.2 syntax
    • Goto and labels
  • Lua 5.3 syntax
    • Bitwise operators

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions