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.
Image could not load. View the original source
Image provenance
Original project branding or screenshot referenced from official project evidence with attribution; trademarks remain with their owners. · Verified Nov 22, 2026
The idea
What it helps you do.
- 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.
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 →- api.github.comSource evidence reviewed · Nov 22, 2026
- api.github.comSource evidence reviewed · Nov 22, 2026