Email or username:

Password:

Forgot your password?
Devil Lu Linvega

Someone suggested that I write a few extra examples to the #Uxn tutorial, so I've added a little dropdown that fills the REPL with various basic programs.
wiki.xxiivv.com/site/uxntal.ht

10 comments
WimⓂ️

@neauoire Very nice, thank you! I start teaching Uxn in a few weeks, I will definitely point my students to it.

Devil Lu Linvega

@wim_v12e Oh! Let me know if you need anything special for the class, I'd be happy to improve the repl, or make some extra examples :)

WimⓂ️

@neauoire Thanks a lot! This is a computer architecture course, not a programming course. Uxntal is a great fit for this but I have to limit it to a subset. For example, I'm not going to teach them lambdas, much as I'd love to.
They are going to do the Compudanzas tutorial, and some coursework.
What would be great for them is an example of a loop and an if/then without lambdas and immediate syntax, but of course that is not so good for other learners.

Devil Lu Linvega

@wim_v12e No no, these are good examples. The loop example has an anonymous jump ?{ } but no lambdas proper. Is the course going to be about how opcodes translate to machine instructions?

WimⓂ️

@neauoire Yes, and that is very cool in Uxntal: you can seamlessly substitute the opcodes with numbers and it just works.
I will even have them write a toy assembler (in Python as that is all they know).

Devil Lu Linvega

@wim_v12e That's a good idea, I can think of a subset of uxntal with basic labels and opcode support that would be a fun exercise to write in python :)

WimⓂ️

@neauoire Even then I will have to give them most of the solution, because these are first years. But still, I hope they will have some fun and learn something useful.
Just don't tell them this is an obscure esolang 😄

Go Up