-
Notifications
You must be signed in to change notification settings - Fork 79
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
Implement function pointers in the VM #934
Conversation
Codecov Report
@@ Coverage Diff @@
## master #934 +/- ##
==========================================
- Coverage 64.05% 63.96% -0.09%
==========================================
Files 196 196
Lines 16473 16561 +88
==========================================
+ Hits 10551 10594 +43
- Misses 5375 5415 +40
- Partials 547 552 +5
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We certainly need additional compiler tests and new issues to track what we're currently missing in terms of lamdas support.
@roman-khimov I have created an issue (#939), though there are no things which are really needed. This is more about support in VM. |
This one needs to be rebased (see the latest comment also, I think we're better referencing the script itself for now). |
Pointer is a generic address type in VM. It is used for calling lambda-expressions.
Implement basic support for function literals. Nested function literals and variables from closure are not supported for now.
Closes #883.