@hyperscale0/hsx 1.0.0-alpha.6 → 1.0.0-beta.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.
package/CHANGELOG.md CHANGED
@@ -11,6 +11,11 @@ listed here.
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [1.0.0-beta.1] - 2026-08-29
15
+
16
+ - This is the first beta and has no package behavior changes from
17
+ 1.0.0-alpha.6.
18
+
14
19
  ## [1.0.0-alpha.6] - 2026-08-29
15
20
 
16
21
  ### Fixed
@@ -159,7 +164,7 @@ listed here.
159
164
 
160
165
  ## [1.0.0-alpha.1] - 2026-08-22
161
166
 
162
- First public release. The compiler is not new, it has been in production use.
167
+ First public release.
163
168
  This is the first version published as a package anyone can install.
164
169
 
165
170
  ### Added
@@ -195,7 +200,8 @@ This is the first version published as a package anyone can install.
195
200
  program that needs more is refused with a diagnostic saying so.
196
201
  - **`party` takes no attribute block yet**, though the grammar parses one.
197
202
 
198
- [Unreleased]: https://github.com/hyperscale0/hyperscale-hsx/compare/v1.0.0-alpha.6...HEAD
203
+ [Unreleased]: https://github.com/hyperscale0/hyperscale-hsx/compare/v1.0.0-beta.1...HEAD
204
+ [1.0.0-beta.1]: https://github.com/hyperscale0/hyperscale-hsx/compare/v1.0.0-alpha.6...v1.0.0-beta.1
199
205
  [1.0.0-alpha.6]: https://github.com/hyperscale0/hyperscale-hsx/compare/v1.0.0-alpha.5...v1.0.0-alpha.6
200
206
  [1.0.0-alpha.5]: https://github.com/hyperscale0/hyperscale-hsx/compare/v1.0.0-alpha.4...v1.0.0-alpha.5
201
207
  [1.0.0-alpha.4]: https://github.com/hyperscale0/hyperscale-hsx/compare/v1.0.0-alpha.3...v1.0.0-alpha.4
package/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # HSX
2
2
 
3
- HSX is a language for describing how money moves through a financial product.
4
- You write the product's parties, the things they trade, and the settlements
5
- between them; the compiler turns that into an intermediate representation the
6
- Hyperscale engine executes.
3
+ HSX is the authoring language for a composed financial company. You declare
4
+ the parties, assets, and settlement bricks that define how value moves. The
5
+ compiler emits HSX-JSON IR plus a congruent Business Frame. Hyperscale's
6
+ composer checks that output, expands it into UDL, plans the change, and freezes
7
+ the admitted contract into a Product build.
7
8
 
8
9
  Seventeen lines of HSX ([`car-escrow.hsx`](./test/fixtures/car-escrow.hsx)) are
9
10
  a used-car escrow: the buyer's money is held, the buyer's own backend confirms
@@ -15,11 +16,11 @@ to hand-write them and get them right.
15
16
 
16
17
  The line here is the one HCL draws with Terraform. **The language is open.**
17
18
  The lexer, the parser, the typechecker, the lowering, the diagnostics, the IR
18
- schema, and this compiler are AGPL-3.0-only and live in this repository. **The
19
- runtime that executes the IR is the product**, and it is not open. HSX targets
20
- it the way HCL targets a provider: you can read every rule the compiler
21
- enforces, compile any program, and inspect the exact document that gets
22
- executed.
19
+ schema, and this compiler are AGPL-3.0-only and are in this repository. **The
20
+ composer and runtime are the product**, and they are not open. HSX targets the
21
+ composer the way HCL targets a provider: you can read every compiler rule,
22
+ compile any program, and inspect the exact document and Business Frame the
23
+ composer receives. This package never executes an operation or moves money.
23
24
 
24
25
  ## Install
25
26
 
@@ -115,12 +116,12 @@ is worse than shipping none.
115
116
  ## Learn it
116
117
 
117
118
  - [`examples/`](./examples/) has four programs, in order: the smallest one that
118
- moves money, archetypes and ports, a walk through the diagnostics, and a
119
- complete small product. Each has its own README, and each is compiled by the
120
- test suite so they cannot rot.
119
+ moves money, settlement bricks and ports, a walk through the diagnostics,
120
+ and a complete small product. Each has its own README, and each is compiled
121
+ by the test suite so they cannot rot.
121
122
  - [`docs/reference.md`](./docs/reference.md) is the language reference: lexical
122
123
  grammar, EBNF, what each stage does, the diagnostic model, and every
123
- archetype in the `settlement` standard library with its parameters and
124
+ brick in the `settlement` standard library with its parameters and
124
125
  constraints.
125
126
  - [`editors/vscode/`](./editors/vscode/) carries the syntax highlighting.
126
127
 
@@ -144,11 +145,10 @@ the literal to `2`.
144
145
 
145
146
  ## Status
146
147
 
147
- Alpha. Eleven settlement archetypes ship and all eleven lower. The compiler is in
148
- production use; the surface is settled enough to build on and the version
149
- number is honest about the rest. What is most likely to move: diagnostic
150
- wording (there are no stable diagnostic codes yet), and the archetype
151
- parameter surfaces as more products land.
148
+ Alpha. Seventeen settlement bricks ship and all seventeen lower. Hyperscale's
149
+ composer and founder CLI use this compiler today. The package remains pre-1.0,
150
+ so diagnostic wording and brick parameters can still change on a minor
151
+ release. There are no stable diagnostic codes yet.
152
152
 
153
153
  ## Contributing
154
154
 
@@ -12,5 +12,5 @@
12
12
  /** Stamped into every compiled HSX-JSON document as `hsx`. */
13
13
  export declare const HSX_IR_VERSION = 1;
14
14
  /** Kept equal to the package.json version by `test/spec.spec.ts`. */
15
- export declare const HSX_VERSION = "1.0.0-alpha.6";
15
+ export declare const HSX_VERSION = "1.0.0-beta.1";
16
16
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,8DAA8D;AAC9D,eAAO,MAAM,cAAc,IAAI,CAAC;AAEhC,qEAAqE;AACrE,eAAO,MAAM,WAAW,kBAAkB,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,8DAA8D;AAC9D,eAAO,MAAM,cAAc,IAAI,CAAC;AAEhC,qEAAqE;AACrE,eAAO,MAAM,WAAW,iBAAiB,CAAC"}
@@ -12,5 +12,5 @@
12
12
  /** Stamped into every compiled HSX-JSON document as `hsx`. */
13
13
  export const HSX_IR_VERSION = 1;
14
14
  /** Kept equal to the package.json version by `test/spec.spec.ts`. */
15
- export const HSX_VERSION = "1.0.0-alpha.6";
15
+ export const HSX_VERSION = "1.0.0-beta.1";
16
16
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,8DAA8D;AAC9D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC;AAEhC,qEAAqE;AACrE,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,8DAA8D;AAC9D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC;AAEhC,qEAAqE;AACrE,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hyperscale0/hsx",
3
- "version": "1.0.0-alpha.6",
4
- "description": "The HSX language: a compiler from a textual description of a financial product's money movement to the HSX-JSON IR.",
3
+ "version": "1.0.0-beta.1",
4
+ "description": "The HSX authoring language: compile settlement bricks into HSX-JSON IR and a congruent Business Frame.",
5
5
  "keywords": [
6
6
  "hsx",
7
7
  "compiler",
package/src/version.ts CHANGED
@@ -14,4 +14,4 @@
14
14
  export const HSX_IR_VERSION = 1;
15
15
 
16
16
  /** Kept equal to the package.json version by `test/spec.spec.ts`. */
17
- export const HSX_VERSION = "1.0.0-alpha.6";
17
+ export const HSX_VERSION = "1.0.0-beta.1";