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

[Zr v1.0] Interpreter Reimplementation #3

Closed
11 tasks done
Vorlias opened this issue Oct 13, 2020 · 0 comments
Closed
11 tasks done

[Zr v1.0] Interpreter Reimplementation #3

Vorlias opened this issue Oct 13, 2020 · 0 comments
Assignees
Labels
Planned Planned
Milestone

Comments

@Vorlias
Copy link
Member

Vorlias commented Oct 13, 2020

Parallel update for
roblox-aurora/zirconium-ast#14

Goals

  • Execute CommandStatements
  • Set variables in VariableDeclarations in the current stack
  • Handle control flow with if/else
  • Handle iteration with for-in
  • Handle complex variable-based expressions such as ArrayIndexExpression and PropertyAccessExpression
  • Handle function execution only when called, but keep information in stack
  • ForInStatement should take values from the rhs expression and pass them to the next block as local(s)
  • Block should keep local identifiers to the scope
  • FunctionDeclaration should accept values passed to it in order of arguments or (with keys - the argument names)
  • Handle Lexer errors
  • Handle Parser errors

Will update this if I missed anything.

@Vorlias Vorlias added the Planned Planned label Oct 13, 2020
@Vorlias Vorlias added this to the 1.0.0 milestone Oct 13, 2020
@Vorlias Vorlias self-assigned this Oct 13, 2020
@Vorlias Vorlias closed this as completed May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Planned Planned
Projects
None yet
Development

No branches or pull requests

1 participant