@lumis-sh/wasm-systemverilog 0.26.3 → 0.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -5
- package/lumis.json +6 -6
- package/package.json +3 -3
- package/tree-sitter-systemverilog.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,22 +1,43 @@
|
|
|
1
1
|
# @lumis-sh/wasm-systemverilog
|
|
2
2
|
|
|
3
|
-
Self-contained Lumis language package for systemverilog
|
|
3
|
+
Self-contained Lumis language package for systemverilog.
|
|
4
|
+
|
|
5
|
+
The Tree-sitter parser is compiled to WASM and ships with the queries that highlight it.
|
|
4
6
|
|
|
5
7
|
Built with [`tree-sitter build --wasm`](https://tree-sitter.github.io/tree-sitter/cli/build.html) `v0.26.11`
|
|
6
8
|
|
|
7
9
|
Used by [Lumis](https://lumis.sh) and compatible with [web-tree-sitter](https://www.npmjs.com/package/web-tree-sitter) v0.26 and other WASM runtimes.
|
|
8
10
|
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install @lumis-sh/wasm-systemverilog
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## What it contains
|
|
18
|
+
|
|
19
|
+
`tree-sitter-systemverilog.wasm` is the parser. `lumis.json` describes it and records its size, its SHA-256 and the queries.
|
|
20
|
+
|
|
21
|
+
Lumis reads both from the installed package, so nothing is downloaded at runtime.
|
|
22
|
+
|
|
23
|
+
The only JavaScript here is one line that exports the parser's URL, for bundlers that want it.
|
|
24
|
+
|
|
9
25
|
## Parser
|
|
10
26
|
|
|
11
27
|
| Parser | Version | Rev |
|
|
12
28
|
| ------ | ------- | --- |
|
|
13
|
-
| [https://github.com/gmlarumbe/tree-sitter-systemverilog.git](https://github.com/gmlarumbe/tree-sitter-systemverilog.git) | 0.4.
|
|
29
|
+
| [https://github.com/gmlarumbe/tree-sitter-systemverilog.git](https://github.com/gmlarumbe/tree-sitter-systemverilog.git) | 0.4.1 | 3390da8c76a976b6f47d19667accc43e81a1483b |
|
|
30
|
+
|
|
31
|
+
The same parser is published to Hex as
|
|
32
|
+
[`lumis_wasm_systemverilog`](https://hex.pm/packages/lumis_wasm_systemverilog) — byte for byte, from
|
|
33
|
+
one build, so both registries serve the same artifact.
|
|
14
34
|
|
|
15
35
|
## CDN
|
|
16
36
|
|
|
17
|
-
- [https://unpkg.com/@lumis-sh/wasm-systemverilog@0.26.
|
|
18
|
-
- [https://cdn.jsdelivr.net/npm/@lumis-sh/wasm-systemverilog@0.26.
|
|
37
|
+
- [https://unpkg.com/@lumis-sh/wasm-systemverilog@0.26.4/tree-sitter-systemverilog.wasm](https://unpkg.com/@lumis-sh/wasm-systemverilog@0.26.4/tree-sitter-systemverilog.wasm)
|
|
38
|
+
- [https://cdn.jsdelivr.net/npm/@lumis-sh/wasm-systemverilog@0.26.4/tree-sitter-systemverilog.wasm](https://cdn.jsdelivr.net/npm/@lumis-sh/wasm-systemverilog@0.26.4/tree-sitter-systemverilog.wasm)
|
|
19
39
|
|
|
20
40
|
## License
|
|
21
41
|
|
|
22
|
-
|
|
42
|
+
The Lumis packaging is MIT. The parser itself is redistributed from the
|
|
43
|
+
upstream project above; see that project for its license.
|
package/lumis.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packageName": "@lumis-sh/wasm-systemverilog",
|
|
3
|
-
"version": "0.26.
|
|
4
|
-
"definitionHash": "
|
|
3
|
+
"version": "0.26.4",
|
|
4
|
+
"definitionHash": "c3fe1f7fb4da7aaeeabc805c4bb21493a55730b06ab51b8a2e8a1d662636e96f",
|
|
5
5
|
"parser": {
|
|
6
6
|
"name": "tree-sitter-systemverilog",
|
|
7
7
|
"grammarName": "systemverilog",
|
|
8
|
-
"upstreamVersion": "0.4.
|
|
9
|
-
"revision": "
|
|
10
|
-
"sha256": "
|
|
11
|
-
"size":
|
|
8
|
+
"upstreamVersion": "0.4.1",
|
|
9
|
+
"revision": "3390da8c76a976b6f47d19667accc43e81a1483b",
|
|
10
|
+
"sha256": "75d3e0cfd7810adbcd9bbaf01cdfa096a094b4c74722a2d1e7b2c82d3c86f4b2",
|
|
11
|
+
"size": 23532777
|
|
12
12
|
},
|
|
13
13
|
"languages": {
|
|
14
14
|
"systemverilog": {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumis-sh/wasm-systemverilog",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Tree-sitter parser and queries for systemverilog, compiled to WASM for Lumis",
|
|
7
7
|
"author": "Leandro Pereira",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"homepage": "https://lumis.sh",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"lumis": {
|
|
23
23
|
"treeSitter": "0.26",
|
|
24
24
|
"formatVersion": 3,
|
|
25
|
-
"definitionHash": "
|
|
25
|
+
"definitionHash": "c3fe1f7fb4da7aaeeabc805c4bb21493a55730b06ab51b8a2e8a1d662636e96f"
|
|
26
26
|
},
|
|
27
27
|
"keywords": ["lumis-sh", "wasm", "tree-sitter"],
|
|
28
28
|
"files": ["*.wasm", "*.json", "*.js", "*.d.ts", "README.md", "LICENSE"]
|
|
Binary file
|