
Security News
TeamPCP Is Systematically Targeting Security Tools Across the OSS Ecosystem
TeamPCP is targeting security tools across the OSS ecosystem, turning scanners and CI pipelines into infostealers to access enterprise secrets.
LexLoom is a cross-platform syntax highlighting meta-compiler. It abstracts the nightmare of writing complex, engine-specific grammar files (Oniguruma for VS Code, procedural regex for Vim, and XML for Notepad++) into a single, clean JSON file.
Define your language once. Generate native highlighters everywhere.
wordList, symbolList, stringMarker) rather than writing platform-specific regular expressions..tmLanguage.json), Vim (.vim), and Notepad++ (UDL .xml).Install LexLoom globally via NPM to use the CLI anywhere:
npm install -g lexloom
(Alternatively, you can run it without installing by cloning this repo and using npx lexloom)
my-language.json)LexLoom uses a standardized JSON format. Here is a taste of how easy it is to define keywords and operators:
{
"metadata": {
"name": "My Language",
"scopeName": "source.mylang",
"extensions": [".mylang"]
},
"rules": [
{
"ruleType": "wordList",
"universalScope": "keyword.control",
"words": ["if", "else", "function", "return"]
},
{
"ruleType": "symbolList",
"universalScope": "keyword.operator",
"symbols": ["==", "!=", "+", "-", "&&"]
}
]
}
Run the CLI against your grammar file:
lexloom my-language.json --scaffold-vsc
Output:
out/
├── vscode/ # TextMate .tmLanguage.json
├── vim/ # Vim .vim syntax script
├── notepadpp/ # Notepad++ .xml UDL
└── vscode-extension/ # A complete, ready-to-publish VS Code Web extension!
You don't need to guess the rule types or scopes. LexLoom comes with a built-in JSON Schema.
Add this single line to the very top of your JSON file in VS Code to get instant validation, hover documentation, and IntelliSense dropdowns for your grammar:
{
"$schema": "https://raw.githubusercontent.com/thisisthedarshan/LexLoom/refs/heads/main/schema/lexloom.schema.json",
"metadata": { ... }
}
LexLoom is open-source software licensed under the Apache 2.0 License.
Note: The syntax files and VS Code extensions generated by the LexLoom CLI are the sole property of the user and are not bound by this license.
FAQs
A cross-platform syntax highlighting meta-compiler.
The npm package lexloom receives a total of 0 weekly downloads. As such, lexloom popularity was classified as not popular.
We found that lexloom demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
TeamPCP is targeting security tools across the OSS ecosystem, turning scanners and CI pipelines into infostealers to access enterprise secrets.

Security News
TypeScript 6.0 introduces new standard APIs, modern default settings, and deprecations as it prepares projects for the upcoming TypeScript 7.0 release.

Security News
/Research
Newly published Trivy Docker images (0.69.4, 0.69.5, and 0.69.6) were found to contain infostealer IOCs and were pushed to Docker Hub without corresponding GitHub releases.