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

Implement function pointers in the VM #934

Merged
merged 3 commits into from
May 12, 2020
Merged

Implement function pointers in the VM #934

merged 3 commits into from
May 12, 2020

Commits on May 12, 2020

  1. vm: implement Pointer stack item

    Pointer is a generic address type in VM.
    It is used for calling lambda-expressions.
    fyrchik committed May 12, 2020
    Configuration menu
    Copy the full SHA
    7fcd537 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d3fb3d View commit details
    Browse the repository at this point in the history
  3. compiler: add basic support for function literals

    Implement basic support for function literals.
    Nested function literals and variables from closure are not supported for now.
    fyrchik committed May 12, 2020
    Configuration menu
    Copy the full SHA
    75fb3af View commit details
    Browse the repository at this point in the history