@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 +8 -2
- package/README.md +18 -18
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.d.ts.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/package.json +2 -2
- package/src/version.ts +1 -1
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.
|
|
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-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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,
|
|
119
|
-
complete small product. Each has its own README, and each is compiled
|
|
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
|
-
|
|
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.
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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
|
|
package/dist/src/version.d.ts
CHANGED
|
@@ -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-
|
|
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,
|
|
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"}
|
package/dist/src/version.js
CHANGED
|
@@ -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-
|
|
15
|
+
export const HSX_VERSION = "1.0.0-beta.1";
|
|
16
16
|
//# sourceMappingURL=version.js.map
|
package/dist/src/version.js.map
CHANGED
|
@@ -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,
|
|
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-
|
|
4
|
-
"description": "The HSX language:
|
|
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