Skip to content

Commit

Permalink
0.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
314eter committed Jan 11, 2025
1 parent 280f627 commit a45fda5
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 40 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13)

project(tree-sitter-ocaml
VERSION "0.23.2"
VERSION "0.24.0"
DESCRIPTION "OCaml grammar for tree-sitter"
HOMEPAGE_URL "https://github.com/tree-sitter/tree-sitter-ocaml"
LANGUAGES C)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tree-sitter-ocaml"
description = "OCaml grammar for tree-sitter"
version = "0.23.2"
version = "0.24.0"
license = "MIT"
readme = "bindings/rust/README.md"
keywords = ["incremental", "parsing", "tree-sitter", "ocaml"]
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ test:
$(TS) parse examples/* --quiet --time

generate:
cd grammars/ocaml && $(TS) generate --no-bindings
cd grammars/interface && $(TS) generate --no-bindings
cd grammars/type && $(TS) generate --no-bindings
cd grammars/ocaml && $(TS) generate
cd grammars/interface && $(TS) generate
cd grammars/type && $(TS) generate

.PHONY: all install uninstall clean test update generate
4 changes: 2 additions & 2 deletions bindings/rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ way.)

```toml
[dependencies]
tree-sitter = "0.23"
tree-sitter-ocaml = "0.23"
tree-sitter = "0.24"
tree-sitter-ocaml = "0.24"
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion common/common.mak
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ifeq ($(OS),Windows_NT)
$(error Windows is not supported)
endif

VERSION := 0.23.2
VERSION := 0.24.0

# repository
SRC_DIR := src
Expand Down
3 changes: 2 additions & 1 deletion grammars/interface/src/tree_sitter/array.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ extern "C" {
#include <string.h>

#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4101)
#elif defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
Expand Down Expand Up @@ -278,7 +279,7 @@ static inline void _array__splice(Array *self, size_t element_size,
#define _compare_int(a, b) ((int)*(a) - (int)(b))

#ifdef _MSC_VER
#pragma warning(default : 4101)
#pragma warning(pop)
#elif defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic pop
#endif
Expand Down
3 changes: 2 additions & 1 deletion grammars/ocaml/src/tree_sitter/array.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ extern "C" {
#include <string.h>

#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4101)
#elif defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
Expand Down Expand Up @@ -278,7 +279,7 @@ static inline void _array__splice(Array *self, size_t element_size,
#define _compare_int(a, b) ((int)*(a) - (int)(b))

#ifdef _MSC_VER
#pragma warning(default : 4101)
#pragma warning(pop)
#elif defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic pop
#endif
Expand Down
3 changes: 2 additions & 1 deletion grammars/type/src/tree_sitter/array.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ extern "C" {
#include <string.h>

#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4101)
#elif defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
Expand Down Expand Up @@ -278,7 +279,7 @@ static inline void _array__splice(Array *self, size_t element_size,
#define _compare_int(a, b) ((int)*(a) - (int)(b))

#ifdef _MSC_VER
#pragma warning(default : 4101)
#pragma warning(pop)
#elif defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic pop
#endif
Expand Down
44 changes: 24 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tree-sitter-ocaml",
"version": "0.23.2",
"version": "0.24.0",
"description": "OCaml grammar for tree-sitter",
"repository": "https://github.com/tree-sitter/tree-sitter-ocaml",
"license": "MIT",
Expand All @@ -24,15 +24,15 @@
"*.wasm"
],
"dependencies": {
"node-addon-api": "^8.2.2",
"node-gyp-build": "^4.8.2"
"node-addon-api": "^8.3.0",
"node-gyp-build": "^4.8.4"
},
"devDependencies": {
"prebuildify": "^6.0.1",
"tree-sitter-cli": "^0.24.4"
"tree-sitter-cli": "^0.24.6"
},
"peerDependencies": {
"tree-sitter": "^0.21.1"
"tree-sitter": "^0.22.4"
},
"peerDependenciesMeta": {
"tree-sitter": {
Expand All @@ -41,7 +41,7 @@
},
"scripts": {
"install": "node-gyp-build",
"generate": "for dir in grammars/ocaml grammars/interface grammars/type; do cd $dir; tree-sitter generate --no-bindings; cd -; done",
"generate": "for dir in grammars/ocaml grammars/interface grammars/type; do cd $dir; tree-sitter generate; cd -; done",
"prestart": "tree-sitter build grammars/ocaml --wasm -o grammars/ocaml/tree-sitter-ocaml.wasm",
"start": "tree-sitter playground --grammar-path grammars/ocaml",
"test": "node --test bindings/node/*_test.js",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tree-sitter-ocaml"
description = "OCaml grammar for tree-sitter"
version = "0.23.2"
version = "0.24.0"
keywords = ["incremental", "parsing", "tree-sitter", "ocaml"]
classifiers = [
"Intended Audience :: Developers",
Expand Down
2 changes: 1 addition & 1 deletion tree-sitter.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
],
"metadata": {
"version": "0.23.2",
"version": "0.24.0",
"license": "MIT",
"description": "OCaml grammar for tree-sitter",
"links": {
Expand Down

0 comments on commit a45fda5

Please sign in to comment.