eventually this will have a live coding interface via some kind of lisp, but for now i am still messing with the implementation. loading palettes off of lospec (https://lospec.com/palette-list)!
#theStudio
I made a little page where you can say hi to me! When you visit this page, my RPi lights up like in the video! Here's the page:
The Mu shell, compiling down to a subset of 32-bit x86 machine code, then to a Linux ELF binary, packaged up with just a Linux kernel and nothing else, running on a Linux console emulated on Qemu, on a Thinkpad T420s running 64-bit Linux.
Just another 27 million lines of C to take out (Linux kernel), and I'll have a decent computing stack.
With another bunch of tricks, I got the width down to 16 characters.
Here four units are running at different speeds on a shared grid.
Variable free version using the new "J" and "Y" wires and a clock divider based on the fact that a counter to n-1 increases in steps of one when sampled every n ticks.
The offset is used to fake a modulo of two numbers, resetting the write head to the first row.
This allows multiple copies to run at different speeds, the only downside is that parts of the unit are wider than 16 chars so it can't be stacked as nicely as the previous version.
Ruby squares https://bismuth.garden/2020/11/ruby-squares
Messing with cables in Orca!
https://www.youtube.com/watch?v=LN6owCwF1EM
Today I implemented the alt (similar to || in C), while and if operators in Comfy-RV #riscv #lisp #assembly #theWorkshop
I really love how everything is so simple to write with explicit continuations (the last two arguments of the `compile` procedure: win and lose). And De Morgan’s law to implement alt as a composition of the existing seq (&&) and not. As a bonus, the code generated by this is the most optimal one.
I spent the last few days in a Haskell rabbit hole searching for the shortest way to expand a quadtree grammar.
Here is my best try so far:
https://www.leonrische.me/pages/list_monad_quadtree_grammars.html
If you have any idea how this could be shortened further, please let me know!
Spent about 18 hours this week working on my COMFY-RV project, an assembly-like language for RISC-V embedded in Lisp inspired by Henry Baker’s design.
I haven’t done much with it yet, but doing low-level programming really is relaxing for me.
(example code in the screenshot is just a program that writes back what it reads on standard input)
All the #TokiPona sitelen sitelen drawings I made for #Inktober are gathered chronologically in this forum thread, with a description written in linja pona glyphs.
https://tokipona.lectronice.com/d/18-telo-pimeja-sitelen-inktober-2020
@dualhammers @neauoire related, I stumbled upon this piece, "L'Académie des Sciences et des Beaux-Arts," by Sébastien Leclerc.
It feels like a 17th century version of Merveilles.
Spent the night trying to figure out how to round a number in 1th with @strstr. We figured it out after a couple of hours.
clr 256 512 / dup dup 1 mod sub swp dup vid swp pop swp vid mod 2 mul swp div dup 1 mod sub add .
Generative Art, (Theoretical) Computer Science, Math, Emacs, Lisp.
The simulacrum is true.