I had the "pleasure" of creating and integrating a parser for a custom DSL into ACE. I've created the parser in ~3 days; it took another 3 to make it work with ACE.
If it was up to me, I'd chose monaco editor (as the guys from mozilla did it with their webassembly editor)
(author of the demo site here)
I just was looking for a quick editor for the demo, and ace seemed to work well for this. Thanks for the pointer to manaco, I'll look at that for next time.
Using an editor in the browser won't be the final product. We're planning on integrating into your editor of choice instead.
You can try it out there though: https://sorbet.run
By the way, a number of RubyKaigi 2018 talks were dealing with type checking (and the other were about improving performance & memory usage).