Why is compilation so messy? Why are there thousands of dependencies? Why can't be as simple as writing a book?
>>59985122
>learn c
>write everything from scratch
That was hard.
>b-but muh meme language
don't
>>59985151
fpbp
>>59985122
Lol nigga just use regular expressions to lex and a push down automata to parse hahaha nigga it ain't even hard use a visitor pattern to do tree decorating and code generation like nigga just do it lmao
>>59985122
>Why can't be as simple as writing a book?
Unless you write a shit book it is as simple.
>>59985151
Why not C++? Why do hate OOP so much?
>>59985726
I do like c++.
I am doing a project in it right now, but i do think it would be nice to be zero dependencies.
Has anyone here done a VM/compiler in C?
I am looking at "C Programming Language 2nd edition" and was thinking of writing a compiler.
>>59985798
I wrote a toy C-to-assembly compiler/translator by using lex and yacc. You need to know C to use those programs though.
>>59985122
Source anon?
>>59985122
it's called doing everything in a scripting lang
>>59985122
Find a successful published author and ask them how easy writing a book really is.