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.4.tbz
sha256=c3bcfc9a9c46fe09dc96b5a15c300b29f6685a1cf5fe2c0e43f4e3df1a20859d
sha512=8b1ff02d62d10c79af8a547e4e00e7c0a8a668256672dcb607662aa1a310bf849824597b9e41ac66d89b0c99ab760ae35793d063ac868cf54c46fe466d8cd313

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: 17 Mar 2023

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" & < "0.2.0"
  3. dune >= "2.7"

Dev Dependencies (5)

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

Used by (2)

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

Conflicts

None

OCaml

Innovation. Community. Security.