what's everyone's preferred host language for implementing a new *imperative* language?
Rust is forbidden because I like not thinking about memory. (this is a pet project and does not justify the mental overhead.)
Conversation
Have been having fun with OCaml recently. Goofy as ever, but omg modules are really coool.
1
2
ugh my biggest gripe with OCaml is the terrible documentation on modules, both in the standard library and in community stuff. just makes it easy to get hyped up about stuff and then sad.
1
Oh yeah, that could be really improved. Seems like they are slowly working on it at least, but still a bunch to do.
Finally starting to figure out how to use the `Format` module in a decent way (took looking around for guides, and searching for uses on cs.github.com)
2
1
You might also find the 'fmt' library useful:
1
2
Ahh cool - yeah I was mainly interested in defining pretty printers for my language with wrapping and indentation - just has taken a bit to get my head around how the boxes and stuff work.
1
1
Actually might be cool to take a peek into Fmt and see how they define the combinators! Really wish odoc had a nice jump-to-source feature to peek under the covers of definitions, like you find in other documentation tools.


