it's that time of the day (1:10AM) when i'm considering just writing a whole new language to use in my reactive notebook app instead of trying to bend typescript into something it really really isn't
Comments
Log in with your Bluesky account to leave a comment
can you think of languages that i could use as an inspiration for this? i just found this https://witheve.com but haven't really looked into dataflow languages and that sort of thing
hmm what would this look like? wouldn't a pure language do the job just fine? all you'd need is to figure out which values updated and then have your "runtime" or whatever update all dependencies. i don't think your language itself would need to know about reactivity as a concept, would it?
It *wouldn't*, but what if it *could*? Like ... what would it be like to use a language designed around doing just that? I'm sure there's like a whole field of PL research that does just this that i know nothing about yet, tbh
That's about the time when I got the idea for lethargica - TS is actually pretty good for building representations of pure programs if you only use curried functions and have the builder hide a ton of cursed casts to make TS check the intended types of your program. Performance is terrible of course
Comments
anyway, if you like this, try
- https://www.cell-lang.net
- https://oceanpark.com/ap5.html
- any Datalog, really
that's incredibly promising. shit.
something something draw the rest of the owl ^^
but it would be so much fun