You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tree-sitter-ocaml grammar has been one of the grammars in the upstream tree-sitter organization for 7 years. It's well-maintained (often getting support for new language features before they're released) and has no known bugs or unsupported syntax.
Other remarks
The containers relevant for fully-qualified names are modules and classes. For modules the separator is Module.item and for classes class#method, but classes are almost never used.
Linguist currently considers .ml, .mli, .eliom, .eliomi, .ml4, .mll and .mly as OCaml. In tree-sitter-ocaml there is a different grammar for .ml (source.ocaml) and .mli (source.ocaml.interface) files.
The text was updated successfully, but these errors were encountered:
Language
OCaml (https://ocaml.org/)
Linguist entry
Linguist is currently using a TextMate grammar for OCaml that hasn't been updated in 10 years and doesn't support many recent language features.
Tree-sitter parser
Parser URL: https://github.com/tree-sitter/tree-sitter-ocaml
@scope
for fully-qualified names: not applicableThe tree-sitter-ocaml grammar has been one of the grammars in the upstream tree-sitter organization for 7 years. It's well-maintained (often getting support for new language features before they're released) and has no known bugs or unsupported syntax.
Other remarks
The containers relevant for fully-qualified names are modules and classes. For modules the separator is
Module.item
and for classesclass#method
, but classes are almost never used.Linguist currently considers
.ml
,.mli
,.eliom
,.eliomi
,.ml4
,.mll
and.mly
as OCaml. In tree-sitter-ocaml there is a different grammar for.ml
(source.ocaml
) and.mli
(source.ocaml.interface
) files.The text was updated successfully, but these errors were encountered: