tree-sitter-objectscript 1.7.0 → 1.7.1

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 CHANGED
@@ -3,6 +3,7 @@
3
3
  [![CI][ci]](https://github.com/intersystems/tree-sitter-objectscript/actions/workflows/ci.yml)
4
4
  [![npm][npm]](https://www.npmjs.com/package/tree-sitter-objectscript)
5
5
  [![crates-udl][crates-udl]](https://crates.io/crates/tree-sitter-objectscript)
6
+ [![crates-routine][crates-routine]](https://crates.io/crates/tree-sitter-objectscript-routine)
6
7
  [![crates-playground][crates-playground]](https://crates.io/crates/tree-sitter-objectscript-playground)
7
8
  [![pypi][pypi]](https://pypi.org/project/tree-sitter-objectscript/)
8
9
 
@@ -27,7 +28,8 @@ Grammar extension graph:
27
28
  - npm: `tree-sitter-objectscript`
28
29
  - PyPI: `tree-sitter-objectscript` (ships `tree_sitter_objectscript`, `tree_sitter_objectscript_udl`, and `tree_sitter_objectscript_routine`)
29
30
  - Rust crates:
30
- - `tree-sitter-objectscript` (UDL + routine grammars)
31
+ - `tree-sitter-objectscript` (UDL grammar)
32
+ - `tree-sitter-objectscript-routine` (routine grammar)
31
33
  - `tree-sitter-objectscript-playground` (playground grammar)
32
34
 
33
35
  ## Bindings
@@ -38,7 +40,7 @@ Language bindings are available under `bindings/`:
38
40
  - Go: `bindings/go`
39
41
  - Node.js: `bindings/node`
40
42
  - Python: `bindings/python`
41
- - Rust: `bindings/rust` and `bindings/rust-playground`
43
+ - Rust: `bindings/rust`, `bindings/rust-routine`, and `bindings/rust-playground`
42
44
  - Swift: `bindings/swift`
43
45
 
44
46
  Quick binding checks from repo root:
@@ -127,5 +129,6 @@ MIT. See [LICENSE](LICENSE).
127
129
  [ci]: https://img.shields.io/github/actions/workflow/status/intersystems/tree-sitter-objectscript/ci.yml?logo=github&label=CI
128
130
  [npm]: https://img.shields.io/npm/v/tree-sitter-objectscript?logo=npm
129
131
  [crates-udl]: https://img.shields.io/crates/v/tree-sitter-objectscript?logo=rust
132
+ [crates-routine]: https://img.shields.io/crates/v/tree-sitter-objectscript-routine?logo=rust
130
133
  [crates-playground]: https://img.shields.io/crates/v/tree-sitter-objectscript-playground?logo=rust
131
134
  [pypi]: https://img.shields.io/pypi/v/tree-sitter-objectscript?logo=pypi&logoColor=ffd242
package/common/scanner.h CHANGED
@@ -1,7 +1,6 @@
1
1
  #include "tree_sitter/parser.h"
2
2
  #include <string.h>
3
3
  #include <wctype.h>
4
- #include <stdio.h>
5
4
 
6
5
  enum ObjectScript_Core_Scanner_TokenType {
7
6
  _IMMEDIATE_SINGLE_WHITESPACE_FOLLOWED_BY_NON_WHITESPACE,
package/core/src/parser.c CHANGED
@@ -2004824,7 +2004824,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript_core(void) {
2004824
2004824
  .metadata = {
2004825
2004825
  .major_version = 1,
2004826
2004826
  .minor_version = 7,
2004827
- .patch_version = 0,
2004827
+ .patch_version = 1,
2004828
2004828
  },
2004829
2004829
  };
2004830
2004830
  return &language;
package/expr/src/parser.c CHANGED
@@ -19637,7 +19637,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript_expr(void) {
19637
19637
  .metadata = {
19638
19638
  .major_version = 1,
19639
19639
  .minor_version = 7,
19640
- .patch_version = 0,
19640
+ .patch_version = 1,
19641
19641
  },
19642
19642
  };
19643
19643
  return &language;
@@ -2186977,7 +2186977,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript(void) {
2186977
2186977
  .metadata = {
2186978
2186978
  .major_version = 1,
2186979
2186979
  .minor_version = 7,
2186980
- .patch_version = 0,
2186980
+ .patch_version = 1,
2186981
2186981
  },
2186982
2186982
  };
2186983
2186983
  return &language;
@@ -2572440,7 +2572440,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript_routine(void) {
2572440
2572440
  .metadata = {
2572441
2572441
  .major_version = 1,
2572442
2572442
  .minor_version = 7,
2572443
- .patch_version = 0,
2572443
+ .patch_version = 1,
2572444
2572444
  },
2572445
2572445
  };
2572446
2572446
  return &language;
@@ -1,6 +1,5 @@
1
1
  #include "../../common/scanner.h"
2
2
  #include "tree_sitter/parser.h"
3
- #include <stdlib.h>
4
3
  #include <string.h>
5
4
 
6
5
  // Keep this in sync with grammar externals.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tree-sitter-objectscript",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Tree Sitter Grammar for InterSystems ObjectScript",
5
5
  "scripts": {
6
6
  "install": "node-gyp-build",
package/tree-sitter.json CHANGED
@@ -97,7 +97,7 @@
97
97
  }
98
98
  ],
99
99
  "metadata": {
100
- "version": "1.7.0",
100
+ "version": "1.7.1",
101
101
  "license": "MIT",
102
102
  "description": "ObjectScript grammars for tree-sitter",
103
103
  "namespace": "io.github.treesitter.objectscript",
package/udl/src/parser.c CHANGED
@@ -2121213,7 +2121213,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_objectscript_udl(void) {
2121213
2121213
  .metadata = {
2121214
2121214
  .major_version = 1,
2121215
2121215
  .minor_version = 7,
2121216
- .patch_version = 0,
2121216
+ .patch_version = 1,
2121217
2121217
  },
2121218
2121218
  };
2121219
2121219
  return &language;
package/udl/src/scanner.c CHANGED
@@ -1,6 +1,5 @@
1
1
  #include "../../common/scanner.h"
2
2
  #include "tree_sitter/parser.h"
3
- #include <stdlib.h>
4
3
  #include <string.h>
5
4
 
6
5
  // There is no way to extend enums, so keep this in sync with base.h