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.2.tbz
sha256=638bccabc7e6713daa82a04803711b068bb594c2532d3ff092648590e150aed5
sha512=bbb3b259ba6fa1f21b9ff038e0ef74d2995ee00374a88b6176b077d12f879bff395ccfe95de8c368b1965a3b929b88b17b62eb12c5d752adc3ffe44450a305e1

CHANGES.md.html

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.