Conversation

its a good thing dragons dont exist in real life otherwise it might actually be hard to write a compiler

4
1
0

@littlefox so youre the one whos making everyone write those books. for shame

1
0
1

@littlefox now i have to learn all these principles, techniques, and tools

1
0
1

@mothcompute @littlefox i really need to write another compiler… the one from 2022 wasn’t enough, my autism requires more

1
0
0
@mothcompute Compiler writer favorite books/movies: How to Train your Dragon
0
0
0

@lanodan @littlefox @mothcompute yes, that’s the 2022 attempt. it compiled to static ELFs

i should just make that repo public

2
0
0

@lanodan @littlefox @mothcompute then, there’s also https://github.com/meithecatte/cursedcc which is infinitely more impressive. thank you @mei very cool <3

0
0
0
@domi @littlefox @mothcompute Well unironically it's the kind of stuff the bootstrapping community could have a bit of interest in.

(related art: https://github.com/udem-dlteam/pnut )
1
0
0

@lanodan @littlefox @mothcompute for your reading pleasure https://git.sakamoto.pl/domi/shiv

i’m not really happy with this code but shrug it does Things

2
0
0

@domi @littlefox @mothcompute Kind of fun to look at.
btw might want to use dollar-single-quote ($'\x50') to avoid xxd+tr, that syntax even made it to POSIX.1-2024.

1
0
1

@lanodan @littlefox @mothcompute my coding style has evolved quite far since then, I would write this much differently now :p

for instance, 2022 me still wrote function before every function, which serves no purpose…

0
0
0

@mothcompute My journey into the ~~horrors~~ wonders of x86 would've ended in defeat long ago if it were not for dragons.

0
0
0
@domi @littlefox @lanodan @mothcompute Please add a (free software) license otherwise it's illegal to do anything with
1
0
0

it's missing 🔜 eth0

Edited 8 days ago

@noisytoot @littlefox @lanodan @mothcompute don’t care

it’s my shit project from 3 years ago, i only made it public so i can show it to y’all in this thread xD

LET IT BE KNOWN: everyone is permitted to do everything with the code, as long as you have fun. Here, that’s your license

0
0
1