@atscript/core 0.1.38 → 0.1.39

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 +45 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ <p align="center">
2
+ <img src="https://atscript.moost.org/logo.svg" alt="Atscript" width="120" />
3
+ </p>
4
+
5
+ <h1 align="center">@atscript/core</h1>
6
+
7
+ <p align="center">
8
+ <strong>Define your models once</strong> — get TypeScript types, runtime validation, and DB metadata from a single <code>.as</code> model.
9
+ </p>
10
+
11
+ <p align="center">
12
+ <a href="https://atscript.moost.org">Documentation</a> · <a href="https://atscript.moost.org/plugin-development/">Plugin Development</a>
13
+ </p>
14
+
15
+ ---
16
+
17
+ Core foundation of the Atscript ecosystem: parser, AST, plugin system, diagnostics, and dependency tracking for `.as` files.
18
+
19
+ This package is not typically used directly by application developers. It is the base layer that language extensions (like `@atscript/typescript`) and editor integrations build upon. Use this if you are building a new language extension, custom build pipeline, or editor plugin.
20
+
21
+ ## Installation
22
+
23
+ ```bash
24
+ pnpm add @atscript/core
25
+ ```
26
+
27
+ ## Features
28
+
29
+ - Pipe-based parser producing a semantic AST with full position tracking
30
+ - Plugin system with lifecycle hooks (`config`, `resolve`, `load`, `onDocument`, `render`, `buildEnd`)
31
+ - Cross-file dependency tracking and import resolution via `AtscriptRepo`
32
+ - Annotation specs with argument validation, node constraints, and merge strategies
33
+ - Spatial indexes for LSP features (go-to-definition, hover, completions)
34
+ - Built-in primitives (`string`, `number`, `boolean` and extensions) and `@expect.*` / `@meta.*` annotations
35
+ - Auto-resolving `atscript.config.*` configuration files
36
+ - `build()` API for batch compilation
37
+
38
+ ## Documentation
39
+
40
+ - [Plugin Development Guide](https://atscript.moost.org/plugin-development/)
41
+ - [Full Documentation](https://atscript.moost.org)
42
+
43
+ ## License
44
+
45
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/core",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "description": "Core library for Atscript parsing and file generation.",
5
5
  "keywords": [
6
6
  "annotations",