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.1.tbz
sha256=f8fb3c2bc48af623960678bdd311434d42cf4e972d21c862f66803ec82853edf
sha512=267883553691250de845e52e07069bbf256b48541552a76d9052641d4287ad13ebc8287b2ed7faec5521eb93d0a26df485abfb09c9f815f45b24a1034bedb4c7

CHANGES.md.html

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.