3 ms·
I'm slightly confused about how it's possible for a language to be written in itself. Say for instance you want to implement "printf". What's stopping you fro
by grondilu 10y ago
I'm slightly confused about how it's possible for a language to be written in itself.
Say for instance you want to implement "printf". What's stopping you from just using printf?
- chewxy 10y agoWell, for one, you will have to implement the memory/system model for the language. It may or may not have access to the host language's "printf" function. Initially of course, a shortcut way is to leverage as much of the host language's features as possible, then eventually, as you move further into the bootstrap process, you will want to remove reliance on the host language.