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.4.tbz
sha256=c3bcfc9a9c46fe09dc96b5a15c300b29f6685a1cf5fe2c0e43f4e3df1a20859d
sha512=8b1ff02d62d10c79af8a547e4e00e7c0a8a668256672dcb607662aa1a310bf849824597b9e41ac66d89b0c99ab760ae35793d063ac868cf54c46fe466d8cd313

CHANGES.md.html

0.3.4 (March 14, 2023)

  • Update the test dependency plist-xml to version 0.5.

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.