haxe
haxe copied to clipboard
Haxe - The Cross-Platform Toolkit
I get this error *a lot*: https://github.com/HaxeFoundation/haxe/commit/acaa3ec060589e138c97512c8df4910c00400dce#diff-4a35a028da1fe67ee6a21fbd5305d08cR3127 Minimal example (save as `WindowManager.hx` and compile with `haxe -lib coconut.vdom WindowManager -js whatever.js`): ```haxe package ; import coconut.ui.*; import coconut.data.*; using tink.CoreApi;...
``` enum abstract Message(Int) { final move_to: Message; } typedef Listener = { function send(name: Message, body: TBody): Void; } final listener: Listener = { send: function(message, body) { //...
I'm opening this just so I don't forget about the branch. All this does is disable the hxb-cache to test if the memory-cache still works. I want to make sure...
```haxe import haxe.io.Input; import haxe.io.BytesInput; function main() { var input:Input = sys.io.File.read("eval.zip"); // input = new BytesInput(input.readAll()); // that line try { var zip = haxe.zip.Reader.readZip(input); trace("Read"); } catch (e:Dynamic)...
Weird edge case incoming: ```haxe import haxe.ds.Option; class Test { static function main() { switch Some(Working) { case Some(Working | Somehow): // fine case None: } switch Some(Broken) { case...
I expect this to be way beyond any of the immediate plans for hxb, but: If for a moment we assume the existence of haxe based hxb reader, I can...
Please see : * https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver * https://searchfox.org/mozilla-central/source/dom/webidl/ResizeObserver.webidl
From https://github.com/HaxeFoundation/haxe/pull/11507#issuecomment-1910391041
Hxb currently does not store `com.main_class` and `com.main` anywhere. It would be nice to (optionally?) support this so that we can have runnable archives without the need to specify `-main`...
The compiler is missing or is not precise enough in its definite assignment analysis of variables that are definitely assigned before a point of usage of the variable. This leads...