package textmate-language

  1. Overview
  2. Docs
Tokenizing source code with TextMate grammars

Install

Dune Dependency

Authors

Maintainers

Sources

textmate-language-0.3.0.tbz
sha256=94b173437e8e9fa30116e9efb357b094ba3bf7320c455707c0ad6877f0f98803
sha512=0dc67729046354947a880cc814b4c897da308e889b282b0da95da7238e7bb48fcac8937dd238ded087c135acb0aed52b9466e899a2bf56065f5603fa04266418

CHANGES.md.html

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.