@skillstech/thunderlang 0.4.2 → 0.5.2
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 +28 -0
- package/dist/core.cjs +6082 -3970
- package/dist/index.cjs +2798 -384
- package/package.json +1 -1
- package/src/cli.mjs +130 -4
- package/src/core.d.ts +9 -0
- package/src/core.mjs +5 -0
- package/src/emit.mjs +1 -1
- package/src/expr.mjs +42 -1
- package/src/human-contract.d.mts +20 -0
- package/src/human-contract.mjs +213 -0
- package/src/lift.mjs +7 -0
- package/src/mcp.mjs +120 -22
- package/src/promote.d.mts +6 -0
- package/src/promote.mjs +165 -0
- package/src/read-repo-fs.mjs +29 -0
- package/src/read-repo.d.mts +21 -0
- package/src/read-repo.mjs +139 -0
- package/src/read.d.mts +29 -0
- package/src/read.mjs +1485 -0
- package/src/target-elixir.mjs +79 -0
- package/src/target-go.mjs +95 -0
- package/src/target-kotlin.mjs +91 -0
- package/src/target-rust.mjs +99 -0
- package/src/target-scala.mjs +93 -0
- package/src/target-types.mjs +62 -0
- package/src/target-util.mjs +1 -59
- package/src/translate.d.mts +5 -0
- package/src/translate.mjs +126 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,36 @@
|
|
|
1
|
+
# 0.5.2
|
|
2
|
+
|
|
3
|
+
- Add named example inputs with one `->` arrow, optional primitive input annotations, and multiline cases in human-v1. Existing tables and canonical source remain supported.
|
|
4
|
+
- Generate example tables from the canonical parsed cases; preserve separate contract and application evidence.
|
|
5
|
+
|
|
6
|
+
# 0.5.1
|
|
7
|
+
|
|
8
|
+
- Add experimental `thunder human` shorthand, readable decision preview, example tables, and canonical source output.
|
|
9
|
+
- Expose the browser-safe human contract helpers through `/core`. Existing grammar and commands are unchanged.
|
|
10
|
+
- Preview reports contract examples separately from application evidence.
|
|
11
|
+
|
|
1
12
|
# Changelog
|
|
2
13
|
|
|
3
14
|
All notable changes to `@skillstech/thunderlang`. Pre-1.0: the language and the
|
|
4
15
|
`intent-graph-v1` schema version independently and may still change.
|
|
5
16
|
|
|
17
|
+
## 0.5.0
|
|
18
|
+
|
|
19
|
+
The executable-targets release. Additive; no breaking changes. Minor bump to keep the 0.x lockstep
|
|
20
|
+
with OpenThunder.
|
|
21
|
+
|
|
22
|
+
- **Five more live execution targets.** `thunder test <file> --target <lang>`,
|
|
23
|
+
`thunder conform <file> --run <lang>`, and `--all-targets` now compile and run the
|
|
24
|
+
generated decision in Go, Rust, Kotlin, Scala, and Elixir, grading real executed
|
|
25
|
+
outputs. Live execution now spans nine languages (TypeScript, Python, C#, Java, Go,
|
|
26
|
+
Rust, Kotlin, Scala, Elixir); each target is probed with a real compile+run smoke and
|
|
27
|
+
skips cleanly (never fails) when its toolchain is absent. New aliases: `golang`, `rs`,
|
|
28
|
+
`kt`, `sc`, `ex`. The expression translator gained matching dialects (`exprToGo`,
|
|
29
|
+
`exprToRust`, `exprToKotlin`, `exprToScala`, `exprToElixir`); existing JS/C#/Java/Python
|
|
30
|
+
output is unchanged.
|
|
31
|
+
- **Language support matrix.** `docs/language-support-matrix.md` updated: lift (14), gen
|
|
32
|
+
(4), live execution (9).
|
|
33
|
+
|
|
6
34
|
## 0.4.2
|
|
7
35
|
|
|
8
36
|
The evidence-graph release. Additive; no breaking changes.
|