@skillstech/thunderlang 0.5.5 → 0.5.6
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 +16 -0
- package/README.md +3 -0
- package/dist/core.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/learn.cjs +6066 -0
- package/package.json +10 -1
- package/src/emit.mjs +1 -1
- package/src/learn-lessons.mjs +458 -0
- package/src/learn.d.mts +34 -0
- package/src/learn.mjs +77 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# 0.5.6
|
|
2
|
+
|
|
3
|
+
Entries that change what Thunder means or how it reads (the language itself) start with **Language:**. Courses and
|
|
4
|
+
tools built on `@skillstech/thunderlang/learn` should re-check their lessons when one appears.
|
|
5
|
+
|
|
6
|
+
**The Thunder tutorial ships with the compiler.**
|
|
7
|
+
- **`@skillstech/thunderlang/learn`** (`learnThunder()`, ESM and CommonJS, browser-safe):
|
|
8
|
+
`{ schema: 'thunder-learn-v1', languageVersion, lessons }`. Each lesson has its idea, a picture to hold in mind, its
|
|
9
|
+
code, the Thunder Text the compiler gives for it, quick-check questions (`{ prompt, choices, answer, explain }`),
|
|
10
|
+
and open questions (`reflect`). **Every answer is worked out by the compiler from the lesson's code**; if it ever
|
|
11
|
+
differs from what the lesson expects, building the lessons throws, so a release cannot carry a lesson that
|
|
12
|
+
disagrees with its language. thunderlang.dev/learn and the Skills Tech Talk course are built from this export.
|
|
13
|
+
- Twelve lessons: the last one became two, **Read a whole app in OpenThunder** (zoom App, File, Action, Rule on a
|
|
14
|
+
small two-door app; what the From code, Author's note, AI summary, and Not read yet labels mean) and **Study your
|
|
15
|
+
own app** (browser, terminal, OpenThunder, and checking a rewrite with `thunder same`).
|
|
16
|
+
|
|
1
17
|
# 0.5.5
|
|
2
18
|
|
|
3
19
|
**Complete behavior: every branch, at every depth, in every language.**
|
package/README.md
CHANGED
|
@@ -8,6 +8,9 @@ result, so intent can be diffed, merged, tested, and trusted.
|
|
|
8
8
|
|
|
9
9
|
Part of [ThunderLang](https://thunderlang.dev), the intent language for AI-era software.
|
|
10
10
|
|
|
11
|
+
**Learn ThunderLang:** the [10-minute tutorial](https://thunderlang.dev/learn), then the
|
|
12
|
+
[full course on Skills Tech Talk](https://app.skillstechtalk.com/learn/technology/t/thunderlang).
|
|
13
|
+
|
|
11
14
|
## Install
|
|
12
15
|
|
|
13
16
|
```bash
|
package/dist/core.cjs
CHANGED
|
@@ -3467,7 +3467,7 @@ function notesSummary(ast) {
|
|
|
3467
3467
|
byLens
|
|
3468
3468
|
};
|
|
3469
3469
|
}
|
|
3470
|
-
var COMPILER_VERSION = "0.5.
|
|
3470
|
+
var COMPILER_VERSION = "0.5.6";
|
|
3471
3471
|
var PROOF_SCHEMA_VERSION = "0.1.0";
|
|
3472
3472
|
var SOURCE_PRODUCT = "skillstech-compiler";
|
|
3473
3473
|
function buildContractGraph(ast, generatedAt) {
|
package/dist/index.cjs
CHANGED
|
@@ -2423,7 +2423,7 @@ function notesSummary(ast) {
|
|
|
2423
2423
|
byLens
|
|
2424
2424
|
};
|
|
2425
2425
|
}
|
|
2426
|
-
var COMPILER_VERSION = "0.5.
|
|
2426
|
+
var COMPILER_VERSION = "0.5.6";
|
|
2427
2427
|
var PROOF_SCHEMA_VERSION = "0.1.0";
|
|
2428
2428
|
var SOURCE_PRODUCT = "skillstech-compiler";
|
|
2429
2429
|
function buildContractGraph(ast, generatedAt) {
|