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 class level methods #9

Merged
merged 7 commits into from Mar 10, 2024
Merged

Commits on Mar 8, 2024

  1. Copy the full SHA
    650070b View commit details
    Browse the repository at this point in the history
  2. Some tiny tweaks.

    quephird committed Mar 8, 2024
    Copy the full SHA
    c938384 View commit details
    Browse the repository at this point in the history
  3. Updated tests.

    quephird committed Mar 8, 2024
    Copy the full SHA
    ca24bb6 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2024

  1. Added tests.

    quephird committed Mar 9, 2024
    Copy the full SHA
    dc8f98f View commit details
    Browse the repository at this point in the history
  2. Since LoxClass now inherits from LoxInstance, there is no reason …

    …for the `LoxValue` enum to have a `class` case. This actually simplfies handling of calls and getters and setters. We also solved the problem of ever having a `nil` value for a parent class, since whenever we ask for it, a new `LoxClass` instance is created lazily.
    quephird committed Mar 9, 2024
    Copy the full SHA
    83b28cc View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8526593 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. Copy the full SHA
    2e8ce09 View commit details
    Browse the repository at this point in the history