Repository navigation
Loreline v0.9.1
A bugfix release focused on condition parsing, choice introspection with insertions, and better compatibility with C# when exporting it from Haxe without erased generics.
Language & Runtime
- Number-leading and subtraction conditions now parse correctly:
if 5 > 3,if score - bonus >= 0, and similar were previously only recognized when the condition started with an identifier. +inside a choice'sifcondition (e.g.Open gate if score + bonus >= 5) no longer breaks parsing. Trailingifconditions are now strictly single-line, so a condition can no longer swallow a following insertion or option.- Choice introspection with insertions:
choices(),choices_all()andchoices_disabled()now return the full flattened choice list when a choice contains insertions, and stay correct across save/restore (#28). - Brace-less nested objects no longer require a trailing comma before a dedent (#27).
C# Target
- C# export now works without
-D erase-genericswhen using Loreline as a Haxe dependency exported to C# (noloreline_*defines). - Removed the external yaml haxelib dependency, replaced by a small built-in YAML subset parser, which also fixes compatibility issues with C# target.
Custom Functions
- Fixed custom function wrapping on JavaScript, Lua, and Python (#20).
Full Changelog: v0.9.0...v0.9.1