@hyperscale0/hsx 3.0.1 → 3.2.0
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 -0
- package/LICENSE.md +356 -0
- package/NOTICE.md +8 -0
- package/dist/src/headers.d.ts +10 -0
- package/dist/src/headers.d.ts.map +1 -1
- package/dist/src/headers.js +25 -0
- package/dist/src/headers.js.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/package.json +6 -7
- package/src/headers.ts +28 -0
- package/src/version.ts +1 -1
- package/LICENSE +0 -661
- package/LICENSING.md +0 -52
- package/TRADEMARKS.md +0 -35
package/LICENSING.md
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Licensing
|
|
2
|
-
|
|
3
|
-
The code in this repository is Copyright 2026 Hyperscale LLC and is licensed
|
|
4
|
-
under the GNU Affero General Public License version 3 only
|
|
5
|
-
(`AGPL-3.0-only`). The full text is in [`LICENSE`](./LICENSE).
|
|
6
|
-
|
|
7
|
-
## What the AGPL asks of you
|
|
8
|
-
|
|
9
|
-
Two obligations matter in practice.
|
|
10
|
-
|
|
11
|
-
**If you distribute a copy in object form**, modified or not, you make its
|
|
12
|
-
Corresponding Source available under the same license.
|
|
13
|
-
|
|
14
|
-
**If you run a modified copy as a network service**, section 13 applies: the
|
|
15
|
-
users interacting with it over the network get an offer of the source of the
|
|
16
|
-
version you are running. Compiling HSX with an unmodified copy behind your own
|
|
17
|
-
service does not trigger this. Changing the lexer, the parser, the lowering, or
|
|
18
|
-
the emitted IR and then serving that change does.
|
|
19
|
-
|
|
20
|
-
Using `@hyperscale0/hsx` as a library inside your own program is a combined
|
|
21
|
-
work under the AGPL. If that does not fit how you ship, take the commercial
|
|
22
|
-
license instead.
|
|
23
|
-
|
|
24
|
-
## Commercial license
|
|
25
|
-
|
|
26
|
-
Hyperscale LLC sells a commercial license to organisations that cannot accept
|
|
27
|
-
the AGPL, for the usual reasons: a proprietary product that links the compiler,
|
|
28
|
-
a hosted service you will not open, a procurement policy that refuses copyleft.
|
|
29
|
-
It grants the same code under ordinary commercial terms with no source
|
|
30
|
-
obligation.
|
|
31
|
-
|
|
32
|
-
Ask through <https://hyperscale0.ai>.
|
|
33
|
-
|
|
34
|
-
## The license covers code, not marks
|
|
35
|
-
|
|
36
|
-
"Hyperscale" and "HSX" are trademarks of Hyperscale LLC. A copyright license
|
|
37
|
-
says nothing about trademarks in either direction, so
|
|
38
|
-
[`TRADEMARKS.md`](./TRADEMARKS.md) draws that boundary.
|
|
39
|
-
|
|
40
|
-
## The language is not the compiler
|
|
41
|
-
|
|
42
|
-
HSX the language and its output contract are separate from this compiler. The
|
|
43
|
-
canonical UDL schema published by the UDL repository and the fixtures under
|
|
44
|
-
[`examples/`](./examples) are data describing a language, and anyone may write their own compiler,
|
|
45
|
-
formatter, or runtime against them, in any language, under any license, without
|
|
46
|
-
touching this code.
|
|
47
|
-
|
|
48
|
-
What you may then say about it is a trademark question, not a copyright one.
|
|
49
|
-
[`TRADEMARKS.md`](./TRADEMARKS.md) has the rule: claim compatibility with an
|
|
50
|
-
HSX IR version only when your implementation emits IR that validates against
|
|
51
|
-
that version's published schema, from the published example programs,
|
|
52
|
-
unmodified.
|
package/TRADEMARKS.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Trademarks
|
|
2
|
-
|
|
3
|
-
"Hyperscale" and "HSX" are trademarks of Hyperscale LLC.
|
|
4
|
-
|
|
5
|
-
The AGPL covers the code in this repository and nothing else. It grants no
|
|
6
|
-
rights to the marks, and it never mentions them: a copyright license says
|
|
7
|
-
nothing about trademarks either way. This file draws that boundary so nobody
|
|
8
|
-
has to guess where it sits.
|
|
9
|
-
|
|
10
|
-
What that means in practice:
|
|
11
|
-
|
|
12
|
-
- **Yes.** Say your project uses HSX, compiles HSX, or reads its internal lowering record.
|
|
13
|
-
Say it in your README, your docs, your talk, and your package description.
|
|
14
|
-
Fork this repository and keep the notices intact.
|
|
15
|
-
- **Yes.** Publish an HSX implementation or tool in another language, and name
|
|
16
|
-
it in a way that describes what it does: `hsx-rs`, `hsx-lsp`, `tree-sitter-hsx`.
|
|
17
|
-
- **No.** Name your project, company, or product in a way that suggests
|
|
18
|
-
Hyperscale LLC published it or endorses it. `@hyperscale0/*` on npm and the
|
|
19
|
-
`hyperscale0` GitHub organisation are ours.
|
|
20
|
-
- **No.** Use the marks or our logo in a way that implies affiliation,
|
|
21
|
-
sponsorship, or certification we have not given.
|
|
22
|
-
|
|
23
|
-
## Claiming compatibility
|
|
24
|
-
|
|
25
|
-
An independent implementation may say it "implements HSX IR version X" only
|
|
26
|
-
while it emits canonical UDL that validates against the UDL schema published
|
|
27
|
-
for that version, from the published example programs, unmodified. The UDL
|
|
28
|
-
schema and the programs in [`examples/`](./examples) are the whole
|
|
29
|
-
test: no edited fixture, no local relaxation of the schema.
|
|
30
|
-
|
|
31
|
-
That claim is a statement about your implementation, so keep the marks out of
|
|
32
|
-
its name and off its logo, and do not present it as endorsement or
|
|
33
|
-
certification by Hyperscale LLC. We certify nothing; the schema does.
|
|
34
|
-
|
|
35
|
-
If you are unsure, open an issue and ask. Nobody has ever regretted asking.
|