@cobol-ts/size 0.0.13 → 0.0.16

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 +13 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,19 @@
1
- # `@cobol-ts/size`
1
+ # @cobol-ts/size
2
2
 
3
3
  Symbolic COBOL **storage extent expressions in bits**. Layout compilation builds and canonicalises these expressions once; a record-aware caller evaluates them later using ODO controller values and enclosing occurrence indices. This package does **not** read bytes, locate fields within physical buffers, choose REDEFINES interpretations, or own cursor lifetimes.
4
4
 
5
+ ## Quick orientation
6
+
7
+ **Responsibility.** Represent, canonicalise and evaluate symbolic storage-size expressions for fixed and controller-dependent COBOL layouts.
8
+
9
+ **Boundary.** Expressions describe physical geometry, not CEL business rules or current entity values.
10
+
11
+ **Public modules.** [storage.size.expression.evaluate.ts](./src/storage.size.expression.evaluate.ts), [size.expression.grammer.ts](./src/size.expression.grammer.ts), [storage.size.expression.canonicalise.ts](./src/storage.size.expression.canonicalise.ts).
12
+
13
+ **Tests.** [storage.size.expression.canonicalise.spec.ts](src/storage.size.expression.canonicalise.spec.ts), [storage.size.expression.evaluator.spec.ts](src/storage.size.expression.evaluator.spec.ts)
14
+
15
+ **Related packages.** [@cobol-ts/layout](../layout/README.md) · [@cobol-ts/copybook](../copybook/README.md).
16
+
5
17
  ## Expression types
6
18
 
7
19
  `StorageSizeExpression` includes:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cobol-ts/size",
3
3
  "description": "Evaluates the size of a COBOL copybook and its fields.",
4
- "version": "0.0.13",
4
+ "version": "0.0.16",
5
5
  "main": "dist/index",
6
6
  "types": "dist/index",
7
7
  "browserslist": {