Skip to content

Custom Classes implementation#2

Draft
Jamextreme140 wants to merge 17 commits intoCodenameCrew:masterfrom
Jamextreme140:feature/custom-classes
Draft

Custom Classes implementation#2
Jamextreme140 wants to merge 17 commits intoCodenameCrew:masterfrom
Jamextreme140:feature/custom-classes

Conversation

@Jamextreme140
Copy link
Copy Markdown
Contributor

Most of this ported from hscript-improved/codename-dev with many improvements.

NOT READY TO USE
still in progress
encapsulated "instance level" fields.
`this.a = a;` will not assigns itself.
- for now, it only works with real classes
- added "customClassHandler" to handle inexistent import path, assuming they are paths to a custom class
aka. "importFailedCallback"
actually, this is better, since it will not require to cache the import, using more memory.
`variablesDeclared` and `variablesValues` are now only used to manage locals for custom classes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant