tree-sitter-postgres 1.2.4__tar.gz → 19.0.0b3__tar.gz

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.
Files changed (21) hide show
  1. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/PKG-INFO +5 -5
  2. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/README.md +4 -4
  3. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres.egg-info/PKG-INFO +5 -5
  4. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/plpgsql/src/parser.c +11906 -11727
  5. tree_sitter_postgres-19.0.0b3/postgres/src/parser.c +4 -0
  6. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/pyproject.toml +1 -1
  7. tree_sitter_postgres-1.2.4/postgres/src/parser.c +0 -4
  8. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/LICENSE +0 -0
  9. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres/__init__.py +0 -0
  10. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres/__init__.pyi +0 -0
  11. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres/binding.c +0 -0
  12. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres/py.typed +0 -0
  13. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres.egg-info/SOURCES.txt +0 -0
  14. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres.egg-info/dependency_links.txt +0 -0
  15. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres.egg-info/not-zip-safe +0 -0
  16. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres.egg-info/requires.txt +0 -0
  17. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/bindings/python/tree_sitter_postgres.egg-info/top_level.txt +0 -0
  18. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/plpgsql/src/scanner.c +0 -0
  19. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/postgres/src/scanner.c +0 -0
  20. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/setup.cfg +0 -0
  21. {tree_sitter_postgres-1.2.4 → tree_sitter_postgres-19.0.0b3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tree-sitter-postgres
3
- Version: 1.2.4
3
+ Version: 19.0.0b3
4
4
  Summary: Postgres grammar for tree-sitter
5
5
  License: BSD-3-Clause
6
6
  Project-URL: Homepage, https://github.com/gmr/tree-sitter-postgres
@@ -23,9 +23,9 @@ A [tree-sitter](https://tree-sitter.github.io/) grammar for PostgreSQL, generate
23
23
 
24
24
  ## Features
25
25
 
26
- - **Current as of PostgreSQL 18** (generated from REL_18_3)
27
- - **727 grammar rules** covering the full PostgreSQL SQL syntax
28
- - **494 case-insensitive keywords** across all four PG keyword categories
26
+ - **Current as of PostgreSQL 19** (generated from `REL_19_STABLE` @ `b368bdd2301`, post-beta 3, with the reverted beta features removed)
27
+ - **743 grammar rules** covering the full PostgreSQL SQL syntax
28
+ - **499 case-insensitive keywords** across all four PG keyword categories
29
29
  - **Correct operator precedence** — `1 + 2 * 3` parses as `1 + (2 * 3)`
30
30
  - **PL/pgSQL support** via a separate grammar with language injection
31
31
  - **Generated, not hand-written** — regenerate for any PostgreSQL version
@@ -57,7 +57,7 @@ cd postgres && npx tree-sitter generate
57
57
  | File | Source |
58
58
  | ----------------------------- | -------------------------------------------- |
59
59
  | `src/backend/parser/gram.y` | Bison grammar (733 rules, 3236 alternatives) |
60
- | `src/include/parser/kwlist.h` | Keyword definitions (494 keywords) |
60
+ | `src/include/parser/kwlist.h` | Keyword definitions (511 keywords) |
61
61
 
62
62
  ### Generator scripts
63
63
 
@@ -4,9 +4,9 @@ A [tree-sitter](https://tree-sitter.github.io/) grammar for PostgreSQL, generate
4
4
 
5
5
  ## Features
6
6
 
7
- - **Current as of PostgreSQL 18** (generated from REL_18_3)
8
- - **727 grammar rules** covering the full PostgreSQL SQL syntax
9
- - **494 case-insensitive keywords** across all four PG keyword categories
7
+ - **Current as of PostgreSQL 19** (generated from `REL_19_STABLE` @ `b368bdd2301`, post-beta 3, with the reverted beta features removed)
8
+ - **743 grammar rules** covering the full PostgreSQL SQL syntax
9
+ - **499 case-insensitive keywords** across all four PG keyword categories
10
10
  - **Correct operator precedence** — `1 + 2 * 3` parses as `1 + (2 * 3)`
11
11
  - **PL/pgSQL support** via a separate grammar with language injection
12
12
  - **Generated, not hand-written** — regenerate for any PostgreSQL version
@@ -38,7 +38,7 @@ cd postgres && npx tree-sitter generate
38
38
  | File | Source |
39
39
  | ----------------------------- | -------------------------------------------- |
40
40
  | `src/backend/parser/gram.y` | Bison grammar (733 rules, 3236 alternatives) |
41
- | `src/include/parser/kwlist.h` | Keyword definitions (494 keywords) |
41
+ | `src/include/parser/kwlist.h` | Keyword definitions (511 keywords) |
42
42
 
43
43
  ### Generator scripts
44
44
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tree-sitter-postgres
3
- Version: 1.2.4
3
+ Version: 19.0.0b3
4
4
  Summary: Postgres grammar for tree-sitter
5
5
  License: BSD-3-Clause
6
6
  Project-URL: Homepage, https://github.com/gmr/tree-sitter-postgres
@@ -23,9 +23,9 @@ A [tree-sitter](https://tree-sitter.github.io/) grammar for PostgreSQL, generate
23
23
 
24
24
  ## Features
25
25
 
26
- - **Current as of PostgreSQL 18** (generated from REL_18_3)
27
- - **727 grammar rules** covering the full PostgreSQL SQL syntax
28
- - **494 case-insensitive keywords** across all four PG keyword categories
26
+ - **Current as of PostgreSQL 19** (generated from `REL_19_STABLE` @ `b368bdd2301`, post-beta 3, with the reverted beta features removed)
27
+ - **743 grammar rules** covering the full PostgreSQL SQL syntax
28
+ - **499 case-insensitive keywords** across all four PG keyword categories
29
29
  - **Correct operator precedence** — `1 + 2 * 3` parses as `1 + (2 * 3)`
30
30
  - **PL/pgSQL support** via a separate grammar with language injection
31
31
  - **Generated, not hand-written** — regenerate for any PostgreSQL version
@@ -57,7 +57,7 @@ cd postgres && npx tree-sitter generate
57
57
  | File | Source |
58
58
  | ----------------------------- | -------------------------------------------- |
59
59
  | `src/backend/parser/gram.y` | Bison grammar (733 rules, 3236 alternatives) |
60
- | `src/include/parser/kwlist.h` | Keyword definitions (494 keywords) |
60
+ | `src/include/parser/kwlist.h` | Keyword definitions (511 keywords) |
61
61
 
62
62
  ### Generator scripts
63
63