Merged
Conversation
- [x] Phase 0: Arithmetic operations and single return - [x] Phase 1: Local variables with register assignment - [x] Phase 2: Global variables (get_global, set_global) - [x] Phase 3: Conditionals (if/elseif/else, and/or short-circuit) - [x] Phase 4: Loops (while, repeat, numeric for) - [x] Phase 5: Functions, closures, and upvalues - [ ] Phase 6: Tables and method calls - [ ] Phase 7: Native function calls (Lua→Elixir calling convention) - [ ] Phase 8: Generic for, varargs, and multiple returns - [ ] Phase 9: String concatenation and bitwise operations - [ ] Phase 10: Value encoding/decoding (Lua.VM.Value) - [ ] Phase 11: deflua integration (reimplement lib/lua.ex against VM.State) - [ ] Phase 12: Peephole optimizer - [ ] Phase 13: Remove Luerl dependency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements function closures