https://github.com/tachyons/zed-hfst
Zed plugin for lexc and twol languages
https://github.com/tachyons/zed-hfst
Last synced: 25 days ago
JSON representation
Zed plugin for lexc and twol languages
- Host: GitHub
- URL: https://github.com/tachyons/zed-hfst
- Owner: tachyons
- License: mit
- Created: 2026-06-23T16:02:41.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-06-24T14:13:14.000Z (about 1 month ago)
- Last Synced: 2026-06-24T16:11:36.841Z (about 1 month ago)
- Language: Tree-sitter Query
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HFST for Zed
[Zed](https://zed.dev) extension providing syntax highlighting for HFST (Helsinki Finite-State Toolkit) language files:
- **TWOL** (`.twol`) — Two-Level Morphology rules
- **LEXC** (`.lexc`) — Lexicon Compiler format
## Features
- Syntax highlighting for TWOL and LEXC files
- Powered by [tree-sitter-twol](https://github.com/tachyons/tree-sitter-twol) and [tree-sitter-lexc](https://github.com/tachyons/tree-sitter-lexc)
## Installation
Search for **HFST** in the Zed Extensions marketplace, or install via the command palette:
```
zed: extensions
```
## TWOL Highlighting
Highlights section keywords (`Alphabet`, `Sets`, `Definitions`, `Rules`), rule operators (`=>`, `<=`, `<=>`), symbol pairs (`a:b`), wildcards, epsilon (`0`), word boundary (`.#.`), set and definition names, regex operators, and comments.
## LEXC Highlighting
Highlights section keywords (`LEXICON`, `Multichar_Symbols`), lexicon names, continuation references, entry forms (`upper:lower`), multichar symbols, and comments.
## License
MIT