(loreline.app)
I took Haxe for a spin years ago and was really impressed, just haven't been able to find the excuse to use it in my day to day work. I find the idea of cross-platform transpilation rather than compilation to be very interesting. Particularly when working with platforms like iOS where Apple can change the ground underneath your feet, being able to continue to use first-party tools while writing in the language of your choice is a valuable niche.
The thing that I find so challenging about these types of systems is scaling up the richness of the playback.
Very quickly I find I need to integrate animations, lip sync, vfx, timed event triggers... For that you really need some kind of timeline. Delays don't cut it. So then these clean text driven systems are at best an early step in a large process or abandoned for a more integrated solution.
But I really do long for the ability to import simple narrative scripts like this even in a full production system.
One of these days I'll try to build the high production value system in a way that keeps both the full, in editor, narrative graph and the simple narrative script files alive and synced.
One thing I will say though - I think something that would set a language/toolset like this apart, would be a high quality UI for showing how different parts flow into each other (a diagrammatic view as an essential / main view instead of just eg an addon).
I mostly say that out of jealousy after seeing the kinds of tooling that companies like eg Obsidian have for writing dialog and narratives
I linked to the technical overview of Loreline, a narrative language to write interactive fiction and dialogues in games, because it shows how Haxe can be used to create software that can run as a library on many other platforms.
You can try the language syntax directly here: https://loreline.app/en/playground/ And look at the code there: https://github.com/jeremyfa/loreline
Feel free to ask any question/feedback!