From git to ~rabbits/uxn
On Thu, 2022-11-10 at 21:26 -0800, Hundred Rabbits wrote: > It's nuts, it took me a good while to untangle this whole thing in my > head, when I understood what was going on, it shattered my brain, > well done. I will be using this routine. ;-) With such a call interpreting "opcodes" following it, a "VM" like Sweet16 for UXN could be built. > Furthermore, I feel honored to to be able to contribute to improving > it ever slightly, by removing `DUP2r LDAr`, for `LDAkr`. Thanks!
From git to ~rabbits/uxn
On Thu, 2022-11-10 at 20:56 -0800, Hundred Rabbits wrote: > First off, I've implemented the _rune to write raw relative byte > address. \o/ ____( Thanks! ) > But more importantly.. you've written an inline string routine?! > One of the coolest uxntal thing I've seen recently. > > Kudos Thanks again! ;-) It was part of my experiments with UXN's stack symmetry, but the r-
From git to ~rabbits/uxn
On Thu, 2022-11-10 at 15:36 -0800, Hundred Rabbits wrote: > The raw rel rune will likely be `_`, but I'm not sure what sort of > offset it should have. > > Since I've never really done much iterating with the return stack, > could anyone write me a hello world using the rst so I can test > > this out? ``` ( zstrr - print zstring via r-stack ) |0100 ;&zstrr JSR2 "Hello, 20 "UXN! 0a 00
From git to ~rabbits/uxn
On Thu, 2022-11-10 at 08:08 -0800, Hundred Rabbits wrote:
> even “:,” for raw relative bytes.
Yes... \o/ ...raw relative too please. I'll take whatever rune it
gets.
...and the 2 character rune idea really is worth the second char! All
the raw ones should have one prefix and the ones with implicit LIT a
different one. Grouping them would speed up (at least my) reading of
the code by instantly getting reminded which one has the ™LIT inside™.
Hmmm ...(insert rotating hourglass here)... maybe even with an own
prefix for ™LITr inside™? (Now you know who is writing this?) But
that's nice and not strictly necessary. When everything with labels,
From git to ~rabbits/uxn
On Wed, 2022-09-28 at 10:50 -0700, Hundred Rabbits wrote: > So one other thing, I've had a few people asking about implementing > enums in uxntal, and there doesn't need to be any new syntax at all, > here's how enums in uxntal works: > > > 00 @suits &clubs $1 &diamonds $1 &hearts $1 &spades $1 ^ Mwhuaahahaaa! Reply formatting changed the "| to "^ assuming it being a nested quote. ;-D > This will create a label with children of values equal to their > offsets, if you're afraid of overlaps between different enums, choose
From git to ~rabbits/uxn
On Wed, 2022-06-22 at 22:09 +0200, felix.winkelmann@bevuta.com wrote: > > Just a remark from the sidelines: that would be pretty nice. I > thought about this myself, Same. > but don't have the necessary skills for a full CPU project. Same. > I did some experiments with the Icestorm tools and have a Lattice > ICEStick, which is a bit small but good enough for the J1 Forth CPU.
From git to ~rabbits/uxn
On Sun, 2022-04-17 at 13:13 -0700, Devine Lu Linvega wrote: > https://wiki.xxiivv.com/site/forth.html ( bottom of the page, I > created a little table ) A line explainig the stack preset is `a b c` might help readers that see this page before sailing thru the page about stack permutations.