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 functions and lambdas #4

Merged
merged 19 commits into from Mar 3, 2024
Merged

Implement functions and lambdas #4

merged 19 commits into from Mar 3, 2024

Commits on Mar 1, 2024

  1. Copy the full SHA
    0060e24 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    39d1acb View commit details
    Browse the repository at this point in the history
  3. Implemented arity check.

    quephird committed Mar 1, 2024
    Copy the full SHA
    5e96377 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    6680670 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    c60cbaa View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    e08c475 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    393bf1e View commit details
    Browse the repository at this point in the history
  8. LoxFunction now has a closure as a property, and Interpreter cons…

    …tructs one and initializes an instance with it. This makes it easier to construct builtin functions.
    quephird committed Mar 1, 2024
    Copy the full SHA
    d188f93 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. Copy the full SHA
    a6d90e7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e137dc6 View commit details
    Browse the repository at this point in the history
  3. Added support for lambda expressions, including at the top level and …

    …passing them as parameters or return values.
    quephird committed Mar 2, 2024
    Copy the full SHA
    3171a1f View commit details
    Browse the repository at this point in the history
  4. Updated comment.

    quephird committed Mar 2, 2024
    Copy the full SHA
    5620ffa View commit details
    Browse the repository at this point in the history
  5. Renamed private function.

    quephird committed Mar 2, 2024
    Copy the full SHA
    2a0bdc8 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    21ef954 View commit details
    Browse the repository at this point in the history
  7. Fixed error in comment.

    quephird committed Mar 2, 2024
    Copy the full SHA
    5fbf499 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    a118b70 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. Copy the full SHA
    d3c2bf6 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fb7e28f View commit details
    Browse the repository at this point in the history
  3. Renamed matchesAny().

    quephird committed Mar 3, 2024
    Copy the full SHA
    314a63c View commit details
    Browse the repository at this point in the history