Skip to content

Add OCamllex and OCamlyacc syntax highlighting support - #2616

Open
ftovagliari wants to merge 2 commits into
sourcegit-scm:developfrom
ftovagliari:develop
Open

Add OCamllex and OCamlyacc syntax highlighting support#2616
ftovagliari wants to merge 2 commits into
sourcegit-scm:developfrom
ftovagliari:develop

Conversation

@ftovagliari

Copy link
Copy Markdown

How ocaml comments looked before the fix:
image

How ocaml comments look after the fix:
image

Screenshot of what an ocamllex file looks like:
image
Screenshot of what an ocamlyacc file looks like:
image

Updated the THIRD-PARTY-LICENSES.md file with the link to the original ocamllex and ocamlyacc grammar .xml files that have been converted to .json.

- Reduced the scope names for `commentBlock` and `commentDoc` to just "comment".
- Removed unnecessary `constant.regexp` and `meta.separator.markdown` scopes.
- Added a missing newline at the end of the file.
@ftovagliari
ftovagliari marked this pull request as ready for review August 9, 2026 16:07
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.

1 participant