From f3e63919299028bf5512d6e44da0d5c2326bbb98 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 03:05:05 +0000 Subject: [PATCH] chore(release): version packages --- .changeset/initial-release.md | 13 ------------- packages/core/CHANGELOG.md | 15 +++++++++++++++ packages/core/package.json | 2 +- 3 files changed, 16 insertions(+), 14 deletions(-) delete mode 100644 .changeset/initial-release.md create mode 100644 packages/core/CHANGELOG.md diff --git a/.changeset/initial-release.md b/.changeset/initial-release.md deleted file mode 100644 index 2ad6958..0000000 --- a/.changeset/initial-release.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@parser-kit/core": minor ---- - -Initial public release. - -A zod-like parser toolkit: describe a grammar as schema values and get the parser, the AST, and its TypeScript types out of one declaration. `Infer` reads the output type the way `z.infer` does. - -- **Lexing** — `defineLexer` with a data-driven reader library (numbers, strings, dollar-quoted strings, comments, operators, regex literals, template chunks), plus modes and transitions for context-sensitive tokenization. -- **Combinators** — `seq`, `oneOf`, `optional`, `delimited`, `sepBy`, `repeat`, `lazy`, `attempt`, `word`, `phrase`, `identifierLike`, and `custom`, dispatched LL(1) on first sets. -- **Expressions** — `pratt()` precedence climbing with prefix, infix, and postfix groups, custom tails, and non-associative operators. -- **Grammars** — `defineGrammar` / `defineExpression`, each exposing `parse`, `diagnose` (error recovery that collects every diagnostic), and `parseValue`. -- Always-on source spans, human-readable `ParseError` messages driven by your lexer's `display` labels, and dual ESM/CJS builds with zero runtime dependencies. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md new file mode 100644 index 0000000..820c377 --- /dev/null +++ b/packages/core/CHANGELOG.md @@ -0,0 +1,15 @@ +# @parser-kit/core + +## 0.1.0 + +### Minor Changes + +- [`93cd05e`](https://github.com/DemonHa/parser-kit/commit/93cd05eca83db904effbcebf1b2eb9190e6a2139) Thanks [@DemonHa](https://github.com/DemonHa)! - Initial public release. + + A zod-like parser toolkit: describe a grammar as schema values and get the parser, the AST, and its TypeScript types out of one declaration. `Infer` reads the output type the way `z.infer` does. + + - **Lexing** — `defineLexer` with a data-driven reader library (numbers, strings, dollar-quoted strings, comments, operators, regex literals, template chunks), plus modes and transitions for context-sensitive tokenization. + - **Combinators** — `seq`, `oneOf`, `optional`, `delimited`, `sepBy`, `repeat`, `lazy`, `attempt`, `word`, `phrase`, `identifierLike`, and `custom`, dispatched LL(1) on first sets. + - **Expressions** — `pratt()` precedence climbing with prefix, infix, and postfix groups, custom tails, and non-associative operators. + - **Grammars** — `defineGrammar` / `defineExpression`, each exposing `parse`, `diagnose` (error recovery that collects every diagnostic), and `parseValue`. + - Always-on source spans, human-readable `ParseError` messages driven by your lexer's `display` labels, and dual ESM/CJS builds with zero runtime dependencies. diff --git a/packages/core/package.json b/packages/core/package.json index 653ad97..8e42b59 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@parser-kit/core", - "version": "0.0.0", + "version": "0.1.0", "description": "A zod-like parser toolkit: lexers, combinators and Pratt tables are plain values, and the AST types are inferred from the grammar.", "keywords": [ "parser",