Y
Hacker News
new
|
ask
|
show
|
jobs
by
fuzztester
328 days ago
>In OCaml, a language highly suited for developing languages in,
What makes OCaml suited for that?
2 comments
mjburgess
328 days ago
algebraic datatypes (tagged unions + pattern matching); compiled, garbage collected (you dont really need memory management for a compiler), statically typed with inference
link
hibikir
328 days ago
Yeah, the same reasons Scala has a built in parser combinator module in the standard library: Just easy to use with those features in the language
link
fuzztester
328 days ago
thanks.
link
greggyb
328 days ago
ML, the language heritage from which OCaml derives, was explicitly designed with interpreters and compilers in mind.
link