tree-sitter-sed 0.18.0 → 0.20.0

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/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "tree-sitter-sed"
3
- version = "0.18.0"
3
+ version = "0.20.0"
4
4
  edition = "2024"
5
5
  description = "Tree-sitter grammars for POSIX sed."
6
6
  readme = "README.md"
package/README.md CHANGED
@@ -15,6 +15,8 @@ npm install tree-sitter-sed
15
15
 
16
16
  ## Grammars
17
17
 
18
+ BRE and ERE have different syntax, so we use separate grammars.
19
+
18
20
  | Grammar | Description |
19
21
  | --------- | ------------------------- |
20
22
  | `sed` | POSIX.1-2024 sed with BRE |
@@ -22,7 +24,7 @@ npm install tree-sitter-sed
22
24
 
23
25
  ## Development
24
26
 
25
- Development uses Node.js 24 or later.
27
+ Development uses Node.js 24.21.0 or later.
26
28
 
27
29
  ```sh
28
30
  npm install
@@ -35,6 +37,10 @@ npm test
35
37
  - [POSIX.1-2024 sed](https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/utilities/sed.html)
36
38
  - [POSIX.1-2024 regular expressions](https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap09.html)
37
39
 
40
+ ## Used By
41
+
42
+ [sed-ts-mode](https://github.com/konomanoasa/sed-ts-mode): Emacs major mode.
43
+
38
44
  ## License
39
45
 
40
46
  [MIT](LICENSE)
@@ -28,4 +28,5 @@ fn main() {
28
28
  .compile(library);
29
29
  }
30
30
  println!("cargo::rerun-if-changed=common/scanner.h");
31
+ println!("cargo::rerun-if-changed=common/tokens.h");
31
32
  }