Skip to content

Add OCaml Lexer (x64) - #1168

Merged
chcg merged 1 commit into
notepad-plus-plus:masterfrom
Zaneham:add-ocaml-lexer
Aug 26, 2026
Merged

Add OCaml Lexer (x64)#1168
chcg merged 1 commit into
notepad-plus-plus:masterfrom
Zaneham:add-ocaml-lexer

Conversation

@Zaneham

@Zaneham Zaneham commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Adds OCaml Lexer, a Scintilla/Lexilla ILexer5 lexer for OCaml with folding and live diagnostics. Notepad++'s built-in caml entry covers .ml and .mli with keyword highlighting only, so this adds nested comments, quoted strings, char literals kept apart from type variables, and .mll / .mly support. The zip bundles the olint linter next to the DLL so diagnostics work without any PATH setup. Tested locally on Notepad++ 8.x, and SHA-256 verified against the v1.0.0 release asset.

@chcg

chcg commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

@Zaneham Might make sense to update support within lexilla at https://github.com/ScintillaOrg/lexilla/blob/master/lexers/LexCaml.cxx and N++ .

@chcg chcg added this to the 1.9.9 milestone Aug 26, 2026
@chcg
chcg merged commit 6c72cae into notepad-plus-plus:master Aug 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants