Show HN: Loreline, narrative language transpiled via Haxe: C++/C#/JS/Java/Py/Lua (loreline.app)
Loreline is a narrative scripting language implemented in Haxe and transpiled to many targets (e.g., JavaScript, C#, C++, Python, Lua) so the same parser/interpreter behavior runs across platforms. The document outlines its pipeline (lexer, parser to an AST with stable 64-bit node IDs, and a runtime interpreter using a continuation-passing model) that executes plain-text .lor scripts on demand without separate precompilation. It also describes how extensive automated tests and thin per-language wrappers help keep features consistent while supporting editors like VS Code.
March 31, 2026 17:33
Source: Hacker News