Bad Diode's Avatar

Bad Diode

@badd10de.bsky.social

Musician and tinkerer. Exploring the interactions of the old with the new. Making and playing with music toys and tools. he/him/they/them My website: https://badd10de.dev STEPPER: A 16 step sequencer for the GBA: https://badd10de.itch.io/stepper-gba

59 Followers  |  47 Following  |  33 Posts  |  Joined: 10.02.2024  |  2.0153

Latest posts by badd10de.bsky.social on Bluesky

thx! honestly essential to understand how I decided to do the tree structure lol.

07.11.2025 17:09 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A graph diagram showing the parse tree of some code where different variables are being declared: A simple Int, a function pointer and a reference to an Int.

A graph diagram showing the parse tree of some code where different variables are being declared: A simple Int, a function pointer and a reference to an Int.

I wanna thank past me for making sure I could visualize nicely my compiler parse tree (and @katef.bsky.social for the inspiration).

Signed: Someone who is just picking back up development after 6 months.

07.11.2025 16:43 β€” πŸ‘ 29    πŸ” 4    πŸ’¬ 3    πŸ“Œ 0
A terminal screen showing some code and a playdate simulator with the resulting output.

A terminal screen showing some code and a playdate simulator with the resulting output.

For a few weeks I've started working on my compiler and building some fun stuff I'd like to share soon. In the meantime, with some small adjustments, now I can run #badlang on the Playdate, calling code from C, and viceversa. It's good to be back!

05.11.2025 13:48 β€” πŸ‘ 3    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
terminal output: a shell command to cat two files (named "before" and "after"), and pipe the output to plot.awk, which renders to an extremely simple svg chart. no x or y axis is shown, just points and a summary of their ranges. exact command follows:
paste <(awk '{print $4}' /tmp/before) <(awk '{print $4}' /tmp/after) | plot.awk | isvg

terminal output: a shell command to cat two files (named "before" and "after"), and pipe the output to plot.awk, which renders to an extremely simple svg chart. no x or y axis is shown, just points and a summary of their ranges. exact command follows: paste <(awk '{print $4}' /tmp/before) <(awk '{print $4}' /tmp/after) | plot.awk | isvg

still love this as a quick way of comparing the shape of data. taking into account offset from 0 is usually important, exact values usually aren't

29.08.2025 12:42 β€” πŸ‘ 35    πŸ” 3    πŸ’¬ 4    πŸ“Œ 0
pcb layout, rendered as a 3D preview in kicad. showing the back of a eurorack module, with a usb-c connector and two light pipes for status LEDs. they're arranged as a hungry-looking face, with two simple lines for angry eyebrows. the whole arrangement is labelled OM NOM NOM FIRMWARE. clearly this is where your firmware updates go

pcb layout, rendered as a 3D preview in kicad. showing the back of a eurorack module, with a usb-c connector and two light pipes for status LEDs. they're arranged as a hungry-looking face, with two simple lines for angry eyebrows. the whole arrangement is labelled OM NOM NOM FIRMWARE. clearly this is where your firmware updates go

sometimes i feel like there should be some kind of barrier to entry for designing things

07.07.2025 12:11 β€” πŸ‘ 265    πŸ” 26    πŸ’¬ 15    πŸ“Œ 2
Post image

Empieza eurovisiΓ³n

17.05.2025 19:11 β€” πŸ‘ 465    πŸ” 129    πŸ’¬ 6    πŸ“Œ 2

Gracias por compartir ayer, y el día contra la lgtbifobia es hoy por si queréis seguir compartiendo!! ✊🏻🌈

17.05.2025 07:35 β€” πŸ‘ 10    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0
pixel art portrait of willem dafoe

pixel art portrait of willem dafoe

willem dafoe portrait i made couple years ago #pixelart

26.04.2025 15:23 β€” πŸ‘ 3125    πŸ” 503    πŸ’¬ 29    πŸ“Œ 6

Movie you've watched more than six times using gifs.

("Hard mode" no Star Wars, Star Trek, or LoTR)

Pretty sure I wore down the dvd for The Matrix back in the day.

27.04.2025 11:39 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Lautrec from Dark Souls

#DarkSouls #pixelart #pixelartist #γƒ‰γƒƒγƒˆη΅΅ #fanart

25.04.2025 20:55 β€” πŸ‘ 240    πŸ” 46    πŸ’¬ 6    πŸ“Œ 0
Post image

Hornet fan art

#pixelart #hollowknight #silksong #γƒ‰γƒƒγƒˆη΅΅ #pixelartist

17.04.2025 13:19 β€” πŸ‘ 112    πŸ” 14    πŸ’¬ 1    πŸ“Œ 0

Alguien controla de alguna tienda o distribuidora a travΓ©s de la cual @helveticablanc.bsky.social pudiese vender en europa copias de su chulΓ­sima baraja de tarot???

17.04.2025 14:12 β€” πŸ‘ 10    πŸ” 4    πŸ’¬ 2    πŸ“Œ 0

Los mejores 6 segundos del dΓ­a

02.04.2025 17:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Ah yes the fabled grapeomancer

25.03.2025 11:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The secret from where you get your inspiration is out lol

25.03.2025 06:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I've started studying the Barry Harris harmonic method so naturally I had to spend way too much time making some pretty guitar voicings diagrams for it, you can download the entire thing here:

badd10de.dev/notes/music-...

I'll probably write more about it once I'm more familiar with it.

22.03.2025 08:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

When all of society has become a death cult, the most defiant thing you can do is live.

28.02.2025 15:47 β€” πŸ‘ 96    πŸ” 15    πŸ’¬ 2    πŸ“Œ 0

I’m hearing this image in my head

22.02.2025 06:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Gonna go further here:

When we delegate our reading, our writing, our thoughts, creations, and communication to machines β€” then we diminish ourselves.

Why would you squander the divine within you?

18.02.2025 21:47 β€” πŸ‘ 120    πŸ” 22    πŸ’¬ 2    πŸ“Œ 0
A PlayDate console on top of a desk, running the game Oquonie

A PlayDate console on top of a desk, running the game Oquonie

A week ago my friends from the studio 100 rabbits released their game Oquonie on the PlayDate.

It’s a little fun puzzle game and I’m happy I could helped a bit on this release by improving the UXN-VM performance on this device.

Get it here:
hundredrabbits.itch.io/oquonie

10.02.2025 12:05 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1
Badlang code with some conditional expression and the linear IR it produces.

Badlang code with some conditional expression and the linear IR it produces.

Work continues on the self-hosted implementation. A good chunk of the typechecking is done and am currently working on compilation to a linear IR that uses different basic blocks per function but is not on an SSA form. Trying to keep things simple for now.

#PLDev #Badlang

06.02.2025 12:58 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A massive, star-headed worm wraps around the Realms, haloed by a rainbow. The border is filled with lesser worms representing the vowels in Wormrōte, tree branches, and the symbol for Wormwood. A label adorns the panel in Wormrōte, reading 'All hail the Dreamer'.

A massive, star-headed worm wraps around the Realms, haloed by a rainbow. The border is filled with lesser worms representing the vowels in Wormrōte, tree branches, and the symbol for Wormwood. A label adorns the panel in Wormrōte, reading 'All hail the Dreamer'.

Hymn 1
β€”
All hail the Dreamer
whose supplicants' song
prolongs our Realm.
May our Lord never wake!
β€”
πŸ–Ό Prints
www.inprnt.com/gallery/helv...

04.02.2025 21:48 β€” πŸ‘ 314    πŸ” 73    πŸ’¬ 0    πŸ“Œ 0

Wow! An amazingly beautiful quadtrees+particles visualization made with raylib! πŸš€

Enhorabona! πŸ‘πŸ˜„

01.02.2025 10:37 β€” πŸ‘ 46    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

The ultimate fantasy of paying attention to my schedule… we can only dream

01.02.2025 09:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image Post image Post image

Desde el colectivo de @autorasdecomic.bsky.social escribieron esto y hemos hecho algunos dibujinos

#STOPIAGENERATIVA

30.01.2025 11:20 β€” πŸ‘ 284    πŸ” 107    πŸ’¬ 5    πŸ“Œ 1
badlang code and the symbol table it generates

badlang code and the symbol table it generates

Typechecking is coming along so I added pretty-printing for symbol tables.

30.01.2025 07:50 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
AST of the self-hosted implementation of a parser and the code that generates it

AST of the self-hosted implementation of a parser and the code that generates it

My self-hosted parser can now fully parse itself

#PLDev #badlang

27.01.2025 18:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
badlang code and the equivalent AST representation, where multiple nodes are connected with nice looking arrows.

badlang code and the equivalent AST representation, where multiple nodes are connected with nice looking arrows.

Still lots to do, but the self-hosted parser is shaping up!

#pldev #badlang

26.01.2025 18:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

aww thank you so much :) I'm a big fan of pretty visualizations and always end up spending way too much time on them haha

25.01.2025 14:45 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Bad Diode (@bd@merveilles.town) Attached: 1 image badlangβ„’ step 26: added semantic analysis for user defined structs. It's still incomplete but this typechecks as it should. I spend way more time on this that I care to admit, allow...

a while back I used to use graphviz for everything, symbol tables, graphs, structs. tbh I took it a bit too far, some tasks are still better suited for text, but I loved the aesthetics of it haha

merveilles.town/@bd/11277789...

25.01.2025 14:32 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@badd10de is following 20 prominent accounts