seq icon indicating copy to clipboard operation
seq copied to clipboard

Current status of OOP

Open cjneely10 opened this issue 3 years ago • 1 comments

Good morning,

I must say I love this project - I have already started converting over some python scripts, and the speed increase is pretty amazing. This is barely an issue, so please feel free to close it out quickly.

I wanted to inquire about the OOP concepts (inheritance, dynamic dispatch, etc.) planned for the language. It would be really amazing to have these tools available!

Thanks!

cjneely10 avatar Jul 29 '21 18:07 cjneely10

Hi @cjneely10, that's great to hear. We do want to look into OOP at some point soon -- supporting it in the backend should be quite easy; we would just implement vtables or something like this. Supporting it in the type checker is somewhat more complicated, and might require some foundational changes, which is mainly why we've postponed it.

arshajii avatar Jul 30 '21 14:07 arshajii