-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
We’re looking for a high-quality TextMate grammar for Linden Scripting Language (LSL) to be added to this repository so that it can ultimately be be contributed to tm-grammars, the canonical grammar collection used by Shiki.
Why This Matters
We are looking to use Mintlify for documentation, which relies on Shiki for syntax highlighting. LSL code blocks are currently unhighlighted, making developer docs harder to read and write. Fixing this will benefit the Second Life scripting community and enhance the developer experience across the web wherever Shiki is used.
Acceptance Criteria
- Create a fully functional .tmLanguage.json grammar for LSL and make a PR against this repository
- Proper classification of LSL keywords, types, constants, events, functions, and operators
- Verified syntax highlighting using the Shiki engine (e.g., via shiki-playground)
- LSL added to the languages.json mapping if necessary
- Demo screenshot or GIF showing LSL highlighting in action
Further details
- Make this grammar as evergreen as possible, we don't want to have to update it every time a new library function is added
- Ex. target patterns (functions begin with
ll...()
, constants are all caps snake case, etc.) instead of targeting a finite list of key words
- Ex. target patterns (functions begin with
Metadata
Metadata
Assignees
Labels
No labels