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.2.tbz
sha256=638bccabc7e6713daa82a04803711b068bb594c2532d3ff092648590e150aed5
sha512=bbb3b259ba6fa1f21b9ff038e0ef74d2995ee00374a88b6176b077d12f879bff395ccfe95de8c368b1965a3b929b88b17b62eb12c5d752adc3ffe44450a305e1

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: 03 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.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 (1)

  1. camyll >= "0.2.0"

Conflicts

None