@kawaijs/ast 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +19 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # @kawaijs/ast
2
+
3
+ **Abstract Syntax Tree (AST) and Story Intermediate Representation (IR) type definitions for Kawaijs.**
4
+
5
+ Part of the [Kawaijs](https://github.com/biagio-scaglia/KawaiJS) visual novel engine.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @kawaijs/ast
11
+ ```
12
+
13
+ ## Features
14
+ - Pure, zero-dependency TypeScript definitions.
15
+ - Discriminated union types for all Kawa Script syntax nodes (`StatementNode`, `DialogueStmtNode`, `MenuStmtNode`, etc.).
16
+ - Serialized Story IR instruction formats (`StoryPackage`, `Instruction`) with source location tracking (`SourceLocation`).
17
+
18
+ ## License
19
+ MIT © Biagio Scaglia
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kawaijs/ast",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Abstract Syntax Tree and Story Intermediate Representation definitions for Kawaijs",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",