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

Language feature: Classes #7

Open
tusharsadhwani opened this issue Aug 16, 2023 · 0 comments
Open

Language feature: Classes #7

tusharsadhwani opened this issue Aug 16, 2023 · 0 comments

Comments

@tusharsadhwani
Copy link
Owner

The interpreter currently doesn't support classes.

Classes have a lot of nuance to them, but this specific issue will focus on three main things:

  • Object creation, and handling their closures
  • Method calls, and bound methods
  • Various dunder methods like __init__, __add__ and __call__.

Just this much will help support a much larger subset of Python.

Naturally, this issue will depend on the addition of closures, via #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant