-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107514 from Profpatsch/tree-sitter-fetch-all-gram…
…mars Tree sitter fetch all grammars
- Loading branch information
Showing
24 changed files
with
354 additions
and
76 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
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
45 changes: 29 additions & 16 deletions
45
pkgs/development/tools/parsing/tree-sitter/grammars/default.nix
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 |
---|---|---|
@@ -1,18 +1,31 @@ | ||
{ | ||
bash = (builtins.fromJSON (builtins.readFile ./tree-sitter-bash.json)); | ||
c = (builtins.fromJSON (builtins.readFile ./tree-sitter-c.json)); | ||
cpp = (builtins.fromJSON (builtins.readFile ./tree-sitter-cpp.json)); | ||
embedded-template = (builtins.fromJSON (builtins.readFile ./tree-sitter-embedded-template.json)); | ||
go = (builtins.fromJSON (builtins.readFile ./tree-sitter-go.json)); | ||
html = (builtins.fromJSON (builtins.readFile ./tree-sitter-html.json)); | ||
java = (builtins.fromJSON (builtins.readFile ./tree-sitter-java.json)); | ||
javascript = (builtins.fromJSON (builtins.readFile ./tree-sitter-javascript.json)); | ||
jsdoc = (builtins.fromJSON (builtins.readFile ./tree-sitter-jsdoc.json)); | ||
json = (builtins.fromJSON (builtins.readFile ./tree-sitter-json.json)); | ||
lua = (builtins.fromJSON (builtins.readFile ./tree-sitter-lua.json)); | ||
php = (builtins.fromJSON (builtins.readFile ./tree-sitter-php.json)); | ||
python = (builtins.fromJSON (builtins.readFile ./tree-sitter-python.json)); | ||
ruby = (builtins.fromJSON (builtins.readFile ./tree-sitter-ruby.json)); | ||
rust = (builtins.fromJSON (builtins.readFile ./tree-sitter-rust.json)); | ||
typescript = (builtins.fromJSON (builtins.readFile ./tree-sitter-typescript.json)); | ||
tree-sitter-agda = (builtins.fromJSON (builtins.readFile ./tree-sitter-agda.json)); | ||
tree-sitter-bash = (builtins.fromJSON (builtins.readFile ./tree-sitter-bash.json)); | ||
tree-sitter-c = (builtins.fromJSON (builtins.readFile ./tree-sitter-c.json)); | ||
tree-sitter-c-sharp = (builtins.fromJSON (builtins.readFile ./tree-sitter-c-sharp.json)); | ||
tree-sitter-cpp = (builtins.fromJSON (builtins.readFile ./tree-sitter-cpp.json)); | ||
tree-sitter-css = (builtins.fromJSON (builtins.readFile ./tree-sitter-css.json)); | ||
tree-sitter-embedded-template = (builtins.fromJSON (builtins.readFile ./tree-sitter-embedded-template.json)); | ||
tree-sitter-fluent = (builtins.fromJSON (builtins.readFile ./tree-sitter-fluent.json)); | ||
tree-sitter-go = (builtins.fromJSON (builtins.readFile ./tree-sitter-go.json)); | ||
tree-sitter-haskell = (builtins.fromJSON (builtins.readFile ./tree-sitter-haskell.json)); | ||
tree-sitter-html = (builtins.fromJSON (builtins.readFile ./tree-sitter-html.json)); | ||
tree-sitter-java = (builtins.fromJSON (builtins.readFile ./tree-sitter-java.json)); | ||
tree-sitter-javascript = (builtins.fromJSON (builtins.readFile ./tree-sitter-javascript.json)); | ||
tree-sitter-jsdoc = (builtins.fromJSON (builtins.readFile ./tree-sitter-jsdoc.json)); | ||
tree-sitter-json = (builtins.fromJSON (builtins.readFile ./tree-sitter-json.json)); | ||
tree-sitter-julia = (builtins.fromJSON (builtins.readFile ./tree-sitter-julia.json)); | ||
tree-sitter-lua = (builtins.fromJSON (builtins.readFile ./tree-sitter-lua.json)); | ||
tree-sitter-ocaml = (builtins.fromJSON (builtins.readFile ./tree-sitter-ocaml.json)); | ||
tree-sitter-php = (builtins.fromJSON (builtins.readFile ./tree-sitter-php.json)); | ||
tree-sitter-python = (builtins.fromJSON (builtins.readFile ./tree-sitter-python.json)); | ||
tree-sitter-ql = (builtins.fromJSON (builtins.readFile ./tree-sitter-ql.json)); | ||
tree-sitter-razor = (builtins.fromJSON (builtins.readFile ./tree-sitter-razor.json)); | ||
tree-sitter-regex = (builtins.fromJSON (builtins.readFile ./tree-sitter-regex.json)); | ||
tree-sitter-ruby = (builtins.fromJSON (builtins.readFile ./tree-sitter-ruby.json)); | ||
tree-sitter-rust = (builtins.fromJSON (builtins.readFile ./tree-sitter-rust.json)); | ||
tree-sitter-scala = (builtins.fromJSON (builtins.readFile ./tree-sitter-scala.json)); | ||
tree-sitter-swift = (builtins.fromJSON (builtins.readFile ./tree-sitter-swift.json)); | ||
tree-sitter-typescript = (builtins.fromJSON (builtins.readFile ./tree-sitter-typescript.json)); | ||
tree-sitter-verilog = (builtins.fromJSON (builtins.readFile ./tree-sitter-verilog.json)); | ||
} |
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-agda.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-agda", | ||
"rev": "d710ff14d15ddee3764fd73a0837c6c4c8c913e9", | ||
"date": "2019-09-20T18:06:06+08:00", | ||
"path": "/nix/store/wqz9v9znaiwhhqi19hgig9bn0yvl4i9s-tree-sitter-agda", | ||
"sha256": "1wpfj47l97pxk3i9rzdylqipy849r482fnj3lmx8byhalv7z1vm6", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-c-sharp.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-c-sharp", | ||
"rev": "b8bff2a389ecc098dbb7e8abee492816a5eb42db", | ||
"date": "2020-11-15T07:54:17+00:00", | ||
"path": "/nix/store/h5p71g661hbyzcdcj6xff8y5pcsivpa4-tree-sitter-c-sharp", | ||
"sha256": "0x78s2wgd8b6pwjzbmc9fgp0ivdmxv39wikig1m55slai6yq51wh", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
8 changes: 4 additions & 4 deletions
8
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-cpp.json
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
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-css.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-css", | ||
"rev": "23f2cb97d47860c517f67f03e1f4b621d5bd2085", | ||
"date": "2020-05-14T14:44:30-07:00", | ||
"path": "/nix/store/r5pkz9kly0mhgrmqzdzdsr6d1dpqavld-tree-sitter-css", | ||
"sha256": "17svpf36p0p7spppzhm3fi833zpdl2l1scg34r6d4vcbv7dknrjy", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-fluent.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-fluent", | ||
"rev": "858fdd6f1e81992e00d3541bfb31bac9365d7a47", | ||
"date": "2018-06-18T13:00:38-07:00", | ||
"path": "/nix/store/zbj8abdlrqi9swm8qn8rhpqmjwcz145f-tree-sitter-fluent", | ||
"sha256": "0528v9w0cs73p9048xrddb1wpdhr92sn1sw8yyqfrq5sq0danr9k", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-haskell.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-haskell", | ||
"rev": "2a0aa1cb5f1b787a4056a29fa0791e87846e33fb", | ||
"date": "2018-11-03T09:56:20-07:00", | ||
"path": "/nix/store/9xszs4xi51qr72laxr67zxnh8y2br0gy-tree-sitter-haskell", | ||
"sha256": "0z0nfip5m0yrjgm49j5nld7jkgyjdmps101xhbng39pwfnh1av83", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
8 changes: 4 additions & 4 deletions
8
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-javascript.json
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
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-julia.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-julia", | ||
"rev": "6a0863f1ce3fcf6f99dc0addb7886dcbd27c5a48", | ||
"date": "2020-09-08T19:39:52-07:00", | ||
"path": "/nix/store/xn5nii9mi2aw7xdabyxlglha2vk12h1w-tree-sitter-julia", | ||
"sha256": "07ds4wzgvnkgkq07izdglkk8lgpqrylvrs96afnwxi56bnzs8sbv", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
8 changes: 4 additions & 4 deletions
8
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-lua.json
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
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-ocaml.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-ocaml", | ||
"rev": "4ec9ee414dadc2b6e7325a9f8124d02f6cd8c250", | ||
"date": "2020-09-18T02:13:40+02:00", | ||
"path": "/nix/store/dszjdnwnbziqxav2khs85026msm6fasz-tree-sitter-ocaml", | ||
"sha256": "0wy85940fhmrnz7c1gk6xkipm8ixzalq5q4i7mcc6wnjiiwq60gx", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
8 changes: 4 additions & 4 deletions
8
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-python.json
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
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-ql.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-ql", | ||
"rev": "a0d688d62dcb9cbc7c53f0d98343c458b3776b3d", | ||
"date": "2020-09-16T12:56:09-07:00", | ||
"path": "/nix/store/dfdaf6wg80dfw5fvdiir7n9nj6j30g3g-tree-sitter-ql", | ||
"sha256": "0f6rfhrbvpg8czfa7mld45by3rp628bs6fyl47a8mn18w6x0n5g2", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-razor.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-razor", | ||
"rev": "60edbd8e798e416f5226a746396efa6a8614fa9b", | ||
"date": "2016-07-08T15:17:50-07:00", | ||
"path": "/nix/store/2vkxw48wc0xf07awi65r4rg2m1lpqq6c-tree-sitter-razor", | ||
"sha256": "1ldsn9nxldxkxdy7irywx88d6a56q05f6907lypzass07piyqp2i", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-regex.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-regex", | ||
"rev": "be2e415b5716615530234d179dc27c32b7a1d86b", | ||
"date": "2020-05-14T15:05:54-07:00", | ||
"path": "/nix/store/acbcq9lgh5pf6hq3329fa253yfvaj6ji-tree-sitter-regex", | ||
"sha256": "0qxbafbwfj64bwhj3455jgkidpdzqwrlsqm3rckq2pi75flnkv42", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
8 changes: 4 additions & 4 deletions
8
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-ruby.json
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
8 changes: 4 additions & 4 deletions
8
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-rust.json
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
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-scala.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-scala", | ||
"rev": "211bb726bb5857f872247b600c7c1808e641a8d4", | ||
"date": "2020-07-13T13:31:00-07:00", | ||
"path": "/nix/store/6q66gzabxazr2581dgp4pp5wwyk2p6mw-tree-sitter-scala", | ||
"sha256": "096ps5za8gxmq61gdd3xdk8cif07vb4v8asls2kdwm6jazm82777", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-swift.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-swift", | ||
"rev": "a22fa5e19bae50098e2252ea96cba3aba43f4c58", | ||
"date": "2019-10-24T19:04:02-06:00", | ||
"path": "/nix/store/pk5xk8yp6vanbar75bhfrs104w0k1ph0-tree-sitter-swift", | ||
"sha256": "14b40lmwrnyvdz2wiv684kfh4fvqfhbj1dgrx81ppmy7hsz7jcq7", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
8 changes: 4 additions & 4 deletions
8
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-typescript.json
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
10 changes: 10 additions & 0 deletions
10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-verilog.json
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,10 @@ | ||
{ | ||
"url": "https://github.com/tree-sitter/tree-sitter-verilog", | ||
"rev": "ad551aae2649da56582bc0557478a7dc979c0be3", | ||
"date": "2020-10-13T17:40:47-07:00", | ||
"path": "/nix/store/nfaxfqrqkxpwaq8rnk7kcp28nnj8y6m2-tree-sitter-verilog", | ||
"sha256": "0cy29i200rnc34d237s19r6a1n5vv4d3wgwpbywxg6ahcankc34m", | ||
"fetchSubmodules": false, | ||
"deepClone": false, | ||
"leaveDotGit": false | ||
} |
Oops, something went wrong.