Haxe-like language in development

Haxe seems to lack features such as destructuring patterns (Haxe does have pattern matching expression though), generators and asynchronous functions. I want to create an incompatible ES4 dialect that covers these features and more. However, my language won’t have macros and, for now, extension methods.

Looks

Python-like strings (Scalar Value) in all VMs:

image

Iterators:

var x = [...Number.range(0, 10).map(e -> e * e).toArray()];

Enums:

image

Flags enums:

image

Value-based tuples and records:

image

I didn’t mention everything here, but if anyone is interested, here are the GitHub repositories:

2 Likes

Neat project. Note that you can request features with haxe-evolution!

1 Like