tree-sitter-sed 0.19.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.19.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
@@ -7,11 +7,6 @@
7
7
  [Tree-sitter](https://tree-sitter.github.io/tree-sitter/) grammars for
8
8
  POSIX.1-2024 sed.
9
9
 
10
- ## Syntax Issues
11
-
12
- The parser detects syntax issues, including missing syntax, while preserving the surrounding structure.
13
- These issues are represented as `syntax_issue` nodes.
14
-
15
10
  ## Installation
16
11
 
17
12
  ```sh
@@ -20,6 +15,8 @@ npm install tree-sitter-sed
20
15
 
21
16
  ## Grammars
22
17
 
18
+ BRE and ERE have different syntax, so we use separate grammars.
19
+
23
20
  | Grammar | Description |
24
21
  | --------- | ------------------------- |
25
22
  | `sed` | POSIX.1-2024 sed with BRE |
@@ -40,6 +37,10 @@ npm test
40
37
  - [POSIX.1-2024 sed](https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/utilities/sed.html)
41
38
  - [POSIX.1-2024 regular expressions](https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/V1_chap09.html)
42
39
 
40
+ ## Used By
41
+
42
+ [sed-ts-mode](https://github.com/konomanoasa/sed-ts-mode): Emacs major mode.
43
+
43
44
  ## License
44
45
 
45
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
  }