▲ | fuzztester 4 days ago | |||||||||||||
>In OCaml, a language highly suited for developing languages in, What makes OCaml suited for that? | ||||||||||||||
▲ | mjburgess 4 days ago | parent | next [-] | |||||||||||||
algebraic datatypes (tagged unions + pattern matching); compiled, garbage collected (you dont really need memory management for a compiler), statically typed with inference | ||||||||||||||
| ||||||||||||||
▲ | greggyb 4 days ago | parent | prev [-] | |||||||||||||
ML, the language heritage from which OCaml derives, was explicitly designed with interpreters and compilers in mind. |