-
Notifications
You must be signed in to change notification settings - Fork 0
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
Can violent-es be rewritten in haxe language #1
Comments
So far, this language has superficial reference and working parser/AST (written in TypeScript), but it might be interesting to rewrite it in Haxe (because it's more robust than TypeScript). The language is statically typed, so I'm still working on the symbol solver (aka. verifier). Unfortunately the runtime and bytecode aren't also done. |
Thanks for considering it. and through haxe/C++ or haxe/java I may use this embeddable scripting language for my CLI programs written for native or jvm as REPL. The real issue is that hscript ( https://github.com/HaxeFoundation/hscript ) is an incomplete programming language. No class etc is possible. Currently there is no option for multiplatform embeddable scripting language via single implementation. |
Just gave a look at Haxe situation. Positive points:
Negative points:
Hmm, gotta think if it's worth... |
may be some "haxe macros" can be written to ease the pain which you see to be lacking in haxe. you can see some powerful haxe macros written by others which ease haxe a lot similarly some 'haxe macros' for use case may also be written to facilitate those things in haxe === some other utilities written in haxe regarding parsers etc |
What if you could execute bytecode that is outputted from You could even try that with simpler languages that are already dynamically-typed, like JavaScript, using |
then "violent-es" will be one of the million other languages which have been implemented in other platforms and its use case may die sooner or later.
Then classes written in haxe and exposing it for scripting in violent-es REPL will need binding it once in haxe/jvm target , binding again once in in haxe/js target , binding again once in haxe/C++ target and so on. BUT if violent-es written fully in haxe, may mean better integration of violent-es scripting language REPL with haxe. That means haxe classes can be exposed to violent-es for once in haxe&violent-es glue source code (written in haxe) - and then it will be available for scripting in violent-es in haxe/jvm, haxe/js, haxe/C++ , ... - all for implementation just once in haxe glue |
But do you want its parser/AST in Haxe, or everything in Haxe (parser + AST + verifier (model + symbol solver + type checker) + bytecode + runtime)? If it's the latter, then it'll take undetermined time because so far only the parser and AST are done... (I mean, there is no verifier + bytecode + runtime written in TypeScript yet.) |
I was just humbly requesting "everything in Haxe (parser + AST + verifier (model + symbol solver + type checker) + bytecode + runtime) + REPL" - whenever you implement them. |
I came to this language from your link at https://community.haxe.org/t/haxe-like-language-in-development/3687
I see that innumerable fully-featured scripting languages have been written javascript (or typescript) or in C/C++ or rust etc languages.
But none of the scripting language written in haxe itself is matured full-featured.
The result is that haxe language apps scripting capabilities are very target(platform) specific.
May I humbly suggest that atleast violent-es be written in haxe language as embeddable programming language, so that it can find real world exclusive niche usecase by haxe written programs
The text was updated successfully, but these errors were encountered: