Email or username:

Password:

Forgot your password?
Kiëd Llaentenn

Finally, Bur -- my latest obsession, an attempt to create a concatenative language that compiles to #uxn roms -- can generate a tiny non-hello-world program.

Behold the beauty of printing numbers

5 comments
Kiëd Llaentenn

And I just realized there's a bug in that program -- 0x99 (the stop indicator) isn't dropped at the end

Kiëd Llaentenn

@neauoire Thanks :)

Let's see how it evolves -- I'm still in the process of figuring out uxn's idioms, and learning not to treat it like a stack-based PDP-11 ;)

Devil Lu Linvega

@unlkfp do you have plans in writing the compiler in uxntal? or do you mean, you'd like to optimize the generated uxn code? The Chibicc compiler had to figure these things out as well, it might be worth looking at some of the optimizations they went through.

In any case, I'm always around if you wanna bounce ideas :)

Kiëd Llaentenn

@neauoire Optimizing the generated uxn code, to more closely resemble what's generated from handwritten uxntal.

For example, making use of self-modifying code (I believe we discussed this one in the IRC some months back).

And thank you, yes, I intend to make full use of the IRC channel when I can :)

Go Up