I’m currently trying my hands on a Haxe plugin for Prettier (mostly as a personal development project and in a somewhat slow and arduous journey since I’m not really a JS developer ), and was wondering if there’s some kind of demo/test file - or a small-ish group of such files - that contain (more or less) comprehensive examples of the Haxe syntax and features.
Right now I’m testing my current progress against a random file from my team’s game, but there’s a lot of things currently not included in that (macros, arrow functions, nested arrays or anonymous objects, typedefs, complex metadata, abstracts, enums, …).
I’ve already checked the test sources of Haxe and HaxeFormatter on GitHub, but those are literally hundreds of files, which makes perfect sense for a test setup but is not really suitable for my current progress.
There are several language features (e.g. the more intricate pattern matching stuff) that I haven’t used a lot yet, and which I’m pretty sure would miss when building such a file myself, so I’d be really thankful for any pointers here.