3 ms·
IMHO the best way to learn any language is to build its compiler.
by sklogic 10y ago
IMHO the best way to learn any language is to build its compiler.
- deleted 10y ago[deleted]
- stenius 10y agoWould you clarify what you mean? Are you saying to compile the source of the compiler, or write a compiler for that language (in that language)
- sklogic 10y agoI mean, write a compiler for a reasonable subset of a language you're learning. You can use the language itself to do so, yet most languages are not necessarily designed for writing compilers, so it's ok to use something else instead. This way you'll quickly understand the semantics of the language and will get an early exposure to its dark corners.