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.3.tbz
sha256=e6a0a27e8269e3b5289e619fc99efbb8336e118d9563f6eed5a4dcadbba8cccc
sha512=5bd4d3c0135d7e0d8967267066136f6fce617d1c84db82cef74f1418e755f7c93fbbedff27175c57c17cd8bbc17c3d708b506d561942854a5bf268f43b7f8d7f

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: 28 Oct 2022

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. oniguruma >= "0.1.2" & < "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"
  2. hilite >= "0.1.1"

Conflicts

None

OCaml

Innovation. Community. Security.