Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fuzztester
· 1y ago · 0 comments
>In OCaml, a language highly suited for developing languages in,
What makes OCaml suited for that?
Comments
[–]
mjburgess
1y ago
algebraic datatypes (tagged unions + pattern matching); compiled, garbage collected (you dont really need memory management for a compiler), statically typed with inference
[–]
hibikir
1y 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
[–]
fuzztester
OP
1y ago
thanks.
[–]
greggyb
1y ago
ML, the language heritage from which OCaml derives, was explicitly designed with interpreters and compilers in mind.