Live data from Hacker News

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

loreline.app

11–20 of 23 posts

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

#12

This is very interesting - I’ve tried to make custom syntaxes for describing dialog etc multiple times, for embedding into game projects, especially since things like Ink aren’t really amenable to porting to other languages easily. So the multitarget/multi-language focus is very attractive. One thing I will say though - I think something that would set a language/toolset like this apart, would be a high quality UI fo…

I talk a bit about the roadmap there: https://loreline.app/en/journal/march-2026/, and yes, there are plans to make an actual app with UI that helps navigate and analyze the narrative content, it's just not the focus yet (better to have a solid language and runtimes to run it first). More should come on that subject during the year!

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

#13
post #7

Now this is prime Hacker News content! Thank you. The idea of a narrative language is fascinating and I'll upvote anything that's using Haxe. 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 iO…

Haxe is such a great piece of tech, which becomes more and more powerful as you get to know it better. I wish it was more used by companies and developers in general, but it's versatility is also what makes it hard to master I guess.

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

#14
post #4

Seems pretty promising. The language looks clean which I can't say for some of the alternatives. 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 a…

I actually plan to tackle the "graph in sync with the narrative script files" in the future, just not the focus yet :)

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

#15
post #4

Seems pretty promising. The language looks clean which I can't say for some of the alternatives. 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 a…

I actually plan to tackle the "graph in sync with the narrative script files" in the future, just not the focus yet :)

Nice. Something short of the full lift that might be useful is to add a reflection API along with the playback API. That way implementing import/export of .lor files to an engine format becomes a lot more appealing. Something to think about, anyway.

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

#16
post #15

Earlier quoted context omitted.

I actually plan to tackle the "graph in sync with the narrative script files" in the future, just not the focus yet :)

Nice. Something short of the full lift that might be useful is to add a reflection API along with the playback API. That way implementing import/export of .lor files to an engine format becomes a lot more appealing. Something to think about, anyway.

For more specific use cases, you can already export a JSON representation of any .lor content (can be done at runtime).

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

#18

Loreline transpiles to Java, but from the diagram it looks like that only works with Android. Is it possible to use Loreline with Java on other platforms?

It works on any fairly recent java runtime. Somebody is already using it with libGDX!

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

#20

This looks nice! Would love to integrate it into an intfic project I'm working on: storyloom-weld.vercel.app How would you say this is inspired by, and compares to, writing in literate programming languages like Inform 7?

I like how Loreline transpiles to multiple languages. I wonder why a transpire to Inform 6 or Inform 7 has not already been done as it seems an easy conceptual leap. Perhaps I don’t fully understand the use cases here.
Post reply on HN