Jun 16, 2020
I spent the last few days implementing a 'byte' type in Mu.
For the most part, Mu is exclusively 32-bit. No long/short nonsense here. However, I do like strings. Eventually even UTF-8 strings. So, minimal byte support. Mostly they behave like 32-bit values. You can't store them on the stack. (Because x86 reasons.)
As a test, I built a little calculator app: http://akkartik.github.io/mu/html/linux/apps/arith.mu.html. This app also shows off multiple return values.
Read more: https://github.com/akkartik/mu
This post is part of my Freewheeling Apps Devlog.
Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.