Devine Lu Linvega on Nostr: I got wondering how much work it would be to compile s-expressions to #uxn, it turns ...
I got wondering how much work it would be to compile s-expressions to #uxn, it turns out, not a lot.
I've only just implemented let in an hour or two, but it's shockingly easy to map lisp-like syntax to the uxn assembly, I might push this further still.
https://git.sr.ht/~rabbits/qzil/tree/master/item/src/qzil.tal Published at
2024-06-04 03:36:31Event JSON
{
"id": "7c2fac745e98114590b6c0a03c0fa1938f4a1dd56221d0ffbfdaba797c10a094",
"pubkey": "2c470abbac95a49cd0ed5b3b9e628ffda1dbb03c14caba1a225a9b8bf1dc9d5f",
"created_at": 1717472191,
"kind": 1,
"tags": [
[
"t",
"uxn"
],
[
"proxy",
"https://merveilles.town/users/neauoire/statuses/112556257536938024",
"activitypub"
]
],
"content": "I got wondering how much work it would be to compile s-expressions to #uxn, it turns out, not a lot.\n\nI've only just implemented let in an hour or two, but it's shockingly easy to map lisp-like syntax to the uxn assembly, I might push this further still. \n\nhttps://git.sr.ht/~rabbits/qzil/tree/master/item/src/qzil.tal\n\nhttps://assets.merveilles.town/media_attachments/files/112/556/247/023/611/864/original/4865912adf397a0a.png",
"sig": "df31501db485bb3f9a31a5b9a70eb7c87c2cd47aa89b7ea14294f496b325c9803c367caca2fc5d5ff21100cbb5ddb9952706ff98b1dbd92a3775e5d37d0667d1"
}