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

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.

Published: 16 Jul 2021

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.

Read the documentation at https://alan-j-hu.github.io/ocaml-textmate-language/.

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

Dependencies (3)

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

Dev Dependencies (6)

  1. odoc with-doc
  2. yojson >= "1.7" & < "2" & with-test
  3. plist-xml < "0.4.0" & with-test
  4. markup >= "1.0" & with-test
  5. ezjsonm >= "1.2" & < "2" & with-test
  6. alcotest >= "1.4" & < "2" & with-test

Used by (2)

  1. camyll >= "0.2.0" & < "0.4.1"
  2. hilite < "0.1.1"

Conflicts

None

OCaml

Innovation. Community. Security.