package textmate-language

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

Install

Dune Dependency

Authors

Maintainers

Sources

textmate-language-0.4.0.tbz
sha256=a88a57c9e8c1d09e2c889e4f400252cf24972db2d110989e2cd4985462b02908
sha512=76aefecd6b7c72435e0e8a0098d80baa90e5be1b35dc46d2a79c748959678dd16ce614d8c11e554d780bb31dc6a92f3d03d719f8df1cfda60905cdcca908f289

Description

This package provides functions for reading TextMate grammars and tokenizing code on a line-by-line basis. textmate-language can read grammars from the document types of the plist-xml, ezjsonm, and yojson libraries.

Tags

highlighting

Published: 26 Jan 2024

README

ocaml-textmate-language

textmate-language provides functions for reading TextMate grammars and tokenizing lines of source code. It is useful for syntax highlighting, but does not provide any functions for assigning visual styles to tokens.

textmate-language follows SemVer. It is currently in 0.Y.z, so Y will be incremented for breaking changes.

Dependencies (3)

  1. ocaml >= "4.08"
  2. oniguruma >= "0.1.2"
  3. dune >= "2.7"

Dev Dependencies (5)

  1. odoc with-doc
  2. yojson >= "1.7" & with-test
  3. ezjsonm >= "1.2" & with-test
  4. alcotest >= "1.4" & with-test
  5. plist-xml >= "0.5" & with-test

Used by (2)

  1. camyll >= "0.4.2"
  2. hilite >= "0.1.1"

Conflicts

None