2 ms·
> That's usually a major checkpoint for a programming language maturing no? It depends on the goals of the language. Of course, compiler writers tend to be (r
by eru 3y ago
> That's usually a major checkpoint for a programming language maturing no?
It depends on the goals of the language. Of course, compiler writers tend to be (relative) fans of their language, so they might want to use it more than might be wise.
But eg I wouldn't want to write _any_ compiler in C or Fortran or Cobol. That includes not wanting to write C, Fortran or Cobol compilers in these languages.
(But I think any language that you might want to write a compiler in should have algebraic data types and pattern matching at the very least, especially these days.)
Somewhat ironically, writing a Python compiler in Python would be an ok idea, but writing a Python interpreter in Python is probably not a good one.