I wrote a compiler for a custom programming language in C, the finished binary is 5344 bytes when stripped.
its a very basic programming language, based on B
#osdev #programming #compiler_design
1 messages · Page 1 of 1 (latest)
I wrote a compiler for a custom programming language in C, the finished binary is 5344 bytes when stripped.
its a very basic programming language, based on B
#osdev #programming #compiler_design
the language is a simple dailect of B* (kinda not really)
the implementation is in around ~780 lines
and it uses no external libs, not even LibC (cus i want to port it to my OS)
i'll probably extend it a bit and then use it as the shell language lol
interesting!
WOW
Why the implicit int return type everywhere?
because yesh