I've been working on
this project for a few weeks now and it's progressing very slowly for that I don't have much time coding every day.
The main idea and the purpose of it is to change how the source script is parsed and interpreted to emulate classes and optimize the scripts for code completion/suggestion (by the Haxe Language Server).
The project has 2 functions to emulate classes: create()` and `classExtends()` which has the same functions as `new` and `extends` keyword, respectively.
It uses regex to modify the scripts before they are executed by the Interp. It's working but has some limitations.
But I was recently suggested to extend the Parser instead so that it would be more robust and can do something thất regex can't do.
It's gonna take, maybe, a few more weeks to finish for the same reason why it's progressing slowly.
I'm gonna study how the Parser works then write an extended Parser which generates.
All I wanna say is, if you wanna help this project to be done sooner, any pull request is welcome.