-
Notifications
You must be signed in to change notification settings - Fork 1
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
[PROPOSAL] A Proposal of OOP Support #20
Comments
This PROPOSAL may make classes could be generated dynamically and as values for passing or returning. |
Add NEW Token |
Create a (anonymous) class-object in the following way, and the
We enable creating a class-object with a name like that mentioned in FEATURE#17 Support OOP, the name will be recorded as one meta-information. For example:
equals:
The second
That is, we consider all variables as aliases. |
For details of the definition of one class, the PLANED design of inheriting is as the following:
As the way mentioned, we can consider the keyword |
For details of definitions of members of one class, the PLANED design is as the following:
Student.class_method(...) makes the first parameter binded to class Student while Student().instance_method(...) makes the first parameter binded to the instance. |
This issue is about a proposal of FEATURE#17 Support OOP which considers class declarations as objects.
The text was updated successfully, but these errors were encountered: