2 ms·
> Pick a project that inspires you. As an inspirational story, I built my first programming language at age 12. It was closer to Brainfuck than to C, but I bui
by majewsky 9y ago
> Pick a project that inspires you.
As an inspirational story, I built my first programming language at age 12. It was closer to Brainfuck than to C, but I built a compiler (in Visual Basic) that transpiled to 16-bit x86 assembler (I learned just enough from assembler tutorials on the internet) and ran that through NASM.
I remember that I worked an entire afternoon (possibly longer) on a program that was the equivalent of
if (getchar() == 't') {
puts("you typed 't'");
}
because the language was so ridiculously limited, but getting it to work (and an actual .exe file to show for it) was immensely gratifying.
Thinking about it, that language was actually the only one that I ever finished. As I learned more about language design etc., my designs grew much more grandiose than my freetime permitted.