Settings

Theme

Neocaml – Rubocop Creator's New OCaml Mode for Emacs

github.com

94 points by TheWiggles a month ago · 13 comments

Reader

riffraff 24 days ago

I think Bozhidar's other projects[0][1][2] are more relevant as "credentials" for an Emacs mode, although probably more niche :)

[0] Projectile, a project mode https://github.com/bbatsov/projectile

[1] Cider, a clojure mode https://github.com/clojure-emacs/cider

[2] Prelude https://github.com/bbatsov/prelude

  • eduction 23 days ago

    For context for those not aware, CIDER is probably the #1 Clojure repl in terms of popularity for day to day work.

  • mark_l_watson 23 days ago

    Good projects. I have only used Clojure professionally for about 2 years out of the last 15 years but I lived in Cider.

    When I bought my new laptop a few months ago I consciously and purposefully refused to install VSCode, just improved my Emacs setup for all writing and programming - and I have been happier for it.

beanjuiceII 24 days ago

great news Bozhidar always makes fantastic stuff

  • jasperry 23 days ago

    I was satisfied with Tuareg + Merlin for OCaml development in Emacs, it just worked for me and didn't break when I upgraded packages, but yes, this being from bbatsov is a strong incentive to try it out. My only concern is that it uses tree-sitter, which I try to avoid because of the messiness of the JavaScript ecosystem.

    • natrys 23 days ago

      I think tree-sitter's relationship with JavaScript is entirely syntactic. You don't need any JS runtime installed to write grammars, because technically tree-sitter CLI already has a JS runtime included and using that it converts your grammar first to an intermediate JSON format, then it generates parser code in C. And then this C code gets compiled into a shared library, which is what editors like Emacs use, so to use tree-sitter modules you definitely don't need a JS runtime either.

kleiba 24 days ago

Aren't there specific IDEs for OCaml like for more mainstream languages?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection