Hasty Briefsbeta

Bilingual

Show HN: Loreline, narrative language transpiled via Haxe: C++/C#/JS/Java/Py/Lua

3 days ago
  • #transpilation
  • #game-development
  • #narrative-scripting
  • Loreline is a narrative scripting language designed to be intuitive for writers while supported by complex software engineering for cross-platform compatibility.
  • Written in Haxe, Loreline uses transpilation to generate native code for multiple languages and platforms from a single codebase, ensuring consistent behavior everywhere.
  • The processing pipeline includes a Lexer, Parser, and Interpreter to transform source text into executable narrative, with no pre-compilation needed for .lor scripts.
  • The execution model uses a continuation-passing style (CPS) with runtime scopes for state management, enabling precise save and restore capabilities.
  • A comprehensive test suite with hundreds of automated tests ensures robustness and prevents regressions across all target languages and features.