Extract CodeMirror language package

This commit is contained in:
2026-07-09 03:49:44 +09:00
parent 375bc80a57
commit e4b9247c45
19 changed files with 397 additions and 14 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ Regenerate the CodeMirror parser from the site directory:
```sh
cd ../../site/decodal-site
npx lezer-generator ../../editors/lezer-decodal/decodal.grammar -o src/lib/codemirror/decodal-parser.js
npx lezer-generator ../../editors/lezer-decodal/decodal.grammar -o ../../packages/decodal-codemirror/src/decodal-parser.js
```
The generated parser is committed with the site because the playground imports it directly.
The generated parser is committed with the `decodal-codemirror` package because both the playground and external Web editors consume it.