Development & technology · Product profile

kotlin-textmate

Pure Kotlin port of VS Code's TextMate grammar engine. No regex hacks - real TextMate scoping with standard .tmLanguage grammars and Compose AnnotatedString rendering. Android/JVM.

The idea

What it helps you do.

A full product introduction is not available yet. Use the official links and reviewed use cases for the details currently provided.

  • 01Loads standard .tmLanguage.json grammars — the same files VS Code uses
  • 02VS Code JSON theme support (Dark+, Light+, or any tokenColors-based theme)
  • 03Jetpack Compose CodeBlock composable with AnnotatedString output
  • 04Joni (Java Oniguruma) regex engine with graceful fallback for unsupported patterns
  • 05Line-by-line tokenization with persistent state across lines
  • 06Joni regex limitation. Backreferences inside lookbehind assertions (e.g., (?<=\1)) cannot compile in Joni. Such patterns fall back to a never-matching sentinel (?!). Tracked in #9.

Source-based product information. This is not a hands-on review.

Before you begin

A few things to check.

  • The directory describes the official project; deployment, maintenance and infrastructure requirements must be checked in its documentation.
  • Hosted plans, commercial support, taxes and usage limits are not verified by this repository listing.

People behind the work

The connection matters.

Repository ownership is verified separately from authorship, maintenance or founding. How we verify →

Sources & verification

Suggest a correction →

Source facts checked Nov 22, 2026.

Claim this profile · Suggest a correction