package textmate-language

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

textmate-language-0.6.0.tbz
sha256=b6f10288af44dadd2f7c7a24070b4a69362740aa4673e967f574b4d8c44bfb02
sha512=78215a4c4de5ee931efe27ee822d12ef4ca165c8a53b62f101d45f2bc843a1650da8e8976eeea55fb55231e63afca0ee3f915d70026afdcae390dacb4711df17

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

Added to opam-repository:

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.13"
  2. oniguruma >= "0.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 (3)

  1. camyll >= "0.4.2"
  2. hilite >= "0.1.1"
  3. yocaml_markdown >= "2.4.1"

Conflicts

None