Convert between Reason syntax and OCaml syntax
Is there a way to convert between the two syntax forms using this extension? Specifically I think it'd be neat to be able to write code in one syntax, then convert it back as needed.
Hi @NicholasLYang, there is no way to do that from the editor plugin right now.
How difficult do you think it would be to add? I'm happy to do it with a little guidance
Who wants it?
I do :p. I'm thinking it'd be a nice workflow to be able to work in existing OCaml codebases but use Reason to read/write my code
It's a relatively common use case for the melange playground (which uses refmt to do that) https://melange.re/unstable/playground/?language=OCaml&code=&live=on