package textmate-language

  1. Overview
  2. Docs
Tokenizing code with TextMate grammars for syntax highlighting

Install

Dune Dependency

Authors

Maintainers

Sources

textmate-language-0.3.3.tbz
sha256=e6a0a27e8269e3b5289e619fc99efbb8336e118d9563f6eed5a4dcadbba8cccc
sha512=5bd4d3c0135d7e0d8967267066136f6fce617d1c84db82cef74f1418e755f7c93fbbedff27175c57c17cd8bbc17c3d708b506d561942854a5bf268f43b7f8d7f

CHANGES.md.html

0.3.3 (October 27, 2022)

  • Support named capture groups.

  • Fix mapping scopes to captures.

0.3.2 (September 28, 2022)

  • Fix bug of incorrect, non-increasing string indices being returned.

0.3.1 (July 15, 2021)

  • Add find_by_filetype function.

0.3.0 (July 4, 2021)

  • Fix handling of while

  • Fix handling of end-delimiter scopes

  • Add type definitions for Ezjsonm and Yojson JSON values

  • Add functions for reading JSON-format grammars into Ezjsonm or Yojson values

  • Add tests

0.2.1 (April 9, 2021)

  • Check capture index bounds and ignore out-of-bounds captures indices in rules. Previously the underlying Oniguruma bindings would throw an Invalid_argument exception.

0.2.0 (November 26, 2020)

  • Switch from PCRE to Oniguruma.

  • Substitute captures from begin pattern for backreferences in end and while patterns.

0.1.0 (August 30, 2020)

Initial release.

OCaml

Innovation. Community. Security.