Hacker News new | ask | show | jobs
by gcampos 44 days ago
I like how readable the script is!

Long time ago I build my own interactive story system, but it was more focused on visuals and portability

1 comments

Portability is actually a key element of Loreline, you can get more technical info about how it's addressed there: https://loreline.app/en/docs/technical-overview/
Very interesting to use Haxe for the core interpreter. I compile my own language into a string of tokens that can be interpreted by a simple stack-based VM (which also enables compiling other languages like a sunset of Yarn Spinner), but in my system I need to create an interpreter myself for every language I want to target. Not difficult (the VM is trivial) but a chore. I need to look into how this works with Haxe, thanks for the link?