by dunefox · 4y ago · 0 comments
Even if you can write a compiler assuming infinite memory that generates programs that also assume it, it would be a disservice to readers to ignore that for brevity. It's an important part of understanding how programs are created.
Another good idea is to write a compiler in the target language.
That's why I'd like to use a language that I already know instead of learning a new one while also learning new material.
What did you have in mind?
What stops you from understanding the idea by reading C? It's a tried-and-true language whose K&R version fits entirely in an easy to read ~180pg book which has real world applications, unlike pseudocode.
C is fine, it's just not ideal for me to learn C which I have no use for and learn a new skill at the same time.