effekt icon indicating copy to clipboard operation
effekt copied to clipboard

Experiment: Generating OCaml instead of SML

Open b-studios opened this issue 1 month ago • 1 comments

Just a draft for now.

While it is somewhat feature complete wrt to the old MLTon backend, there is still a lot to do:

  • [ ] identify recursive groups and introduce let rec ... and ... binding groups for those (and those only).
  • [ ] model capabilities / objects using records since this allows rank-2 types (https://soap.coffee/~lthms/posts/RankNTypesInOCaml.html)
  • [ ] Implement heterogenous regions (since in OCaml we have Obj.magic)

b-studios avatar May 23 '24 19:05 b-studios