This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jordan Mackie
committed
Feb 12, 2023
1 parent
a92802e
commit a6bdbf2
Showing
14 changed files
with
2,716 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
package-lock.json | ||
types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
``` | ||
npx lezer-import-tree-sitter ./node_modules/tree-sitter-ditto/src/grammar.json > src/ditto.grammar | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "lezer-ditto", | ||
"version": "1.0.0", | ||
"type": "module", | ||
"main": "./src/index.js", | ||
"types": "./types/index.d.ts", | ||
"scripts": { | ||
"build": "lezer-generator src/ditto.grammar --names -o src/parser", | ||
"gen-types": "tsc --allowJs -d --emitDeclarationOnly src/index.js --outDir types", | ||
"test": "mocha test.js" | ||
}, | ||
"dependencies": { | ||
"@lezer/highlight": "^1.1.3", | ||
"@lezer/lr": "^1.3.3" | ||
}, | ||
"devDependencies": { | ||
"@lezer/generator": "^1.2.2", | ||
"mocha": "^10.2.0", | ||
"prettier": "^2.8.4", | ||
"typescript": "^4.9.5" | ||
}, | ||
"optionalDependencies": { | ||
"lezer-import-tree-sitter": "github:lezer-parser/import-tree-sitter", | ||
"tree-sitter-ditto": "github:ditto-lang/tree-sitter-ditto" | ||
} | ||
} |
Oops, something went wrong.