Skip to content

Commit 6a02d5e

Browse files
Claude/add language manifest r d bhd (#19)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 16ae1e9 commit 6a02d5e

10 files changed

Lines changed: 270 additions & 0 deletions

File tree

languages/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Language Quick Reference
2+
3+
Each language has one core invariant that defines its design philosophy.
4+
5+
| Language | Invariant |
6+
|----------|-----------|
7+
| [my-lang](my-lang.md) | Each level builds exactly on the previous |
8+
| [phronesis](phronesis.md) | Every AI decision traces to declared values |
9+
| [eclexia](eclexia.md) | No computation without explicit resource budget |
10+
| [oblibeny](oblibeny.md) | All programs must provably terminate |
11+
| [wokelang](wokelang.md) | No operation without explicit consent |
12+
| [betlang](betlang.md) | All uncertainty must be explicitly modeled |
13+
| [julia-the-viper](julia-the-viper.md) | Data and code are strictly separated |
14+
| [affinescript](affinescript.md) | Every resource is used at most once |
15+
| [ephapax](ephapax.md) | Every value can be consumed exactly once |
16+
17+
See also: [MANIFEST.md](../MANIFEST.md) for full status and run instructions.

languages/affinescript.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AffineScript
2+
3+
> Affine types and dependent types for WebAssembly.
4+
5+
## Invariant
6+
7+
**Every resource is used at most once—no accidental aliasing or double-free.**
8+
9+
## Example
10+
11+
```ocaml
12+
let file : File = open("data.txt")
13+
let contents = read(file) (* file consumed here *)
14+
(* file cannot be used again *)
15+
close(contents.handle)
16+
```
17+
18+
## Run
19+
20+
```bash
21+
dune build
22+
dune exec affinescript
23+
```
24+
25+
## Status
26+
27+
🟡 TO VERIFY - Check sync with GitLab

languages/betlang.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# betlang
2+
3+
> Probabilistic programming for sampling and inference.
4+
5+
## Invariant
6+
7+
**All uncertainty must be explicitly modeled—no hidden randomness.**
8+
9+
## Example
10+
11+
```racket
12+
(define coin (bernoulli 0.5))
13+
(define outcome (if coin 'heads 'tails))
14+
(observe (= outcome 'heads))
15+
(sample coin)
16+
```
17+
18+
## Run
19+
20+
```bash
21+
racket main.rkt
22+
```
23+
24+
## Status
25+
26+
🟡 TO VERIFY - Check sync with GitLab

languages/eclexia.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Eclexia
2+
3+
> Sustainable Software Engineering through resource-first constraints.
4+
5+
## Invariant
6+
7+
**No computation proceeds without an explicit resource budget.**
8+
9+
## Example
10+
11+
```scheme
12+
(energy budget 100mJ
13+
(resource memory 64KB)
14+
(compute matrix-multiply A B))
15+
```
16+
17+
## Run
18+
19+
```bash
20+
cargo run
21+
```
22+
23+
## Status
24+
25+
🔴 NOT SYNCED (Priority 1) - 70-page white paper and Rust compiler exist only on GitLab

languages/ephapax.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Ephapax
2+
3+
> Once-only evaluation with linear semantics.
4+
5+
## Invariant
6+
7+
**Every value can be consumed exactly once—enforced statically.**
8+
9+
## Example
10+
11+
```scheme
12+
(define token (create-one-time-token secret))
13+
14+
(consume token verification-service)
15+
;; token is now invalid - cannot be reused
16+
17+
;; This would be a compile error:
18+
;; (consume token another-service)
19+
```
20+
21+
## Run
22+
23+
```bash
24+
# Implementation-specific - TBD
25+
```
26+
27+
## Status
28+
29+
🟡 TO VERIFY - Check sync with GitLab

languages/julia-the-viper.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# julia-the-viper
2+
3+
> Systems programming with Harvard Architecture separation.
4+
5+
## Invariant
6+
7+
**Data and code occupy strictly separate memory spaces—no self-modifying code.**
8+
9+
## Example
10+
11+
```rust
12+
// Data segment - immutable at runtime
13+
data {
14+
lookup_table: [u8; 256] = precomputed_values()
15+
}
16+
17+
// Code segment - no data writes
18+
code {
19+
fn transform(input: u8) -> u8 {
20+
lookup_table[input]
21+
}
22+
}
23+
```
24+
25+
## Run
26+
27+
```bash
28+
cargo run
29+
```
30+
31+
## Status
32+
33+
🟡 TO VERIFY - Check sync with GitLab

languages/my-lang.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# My-Lang Family
2+
3+
> Progressive mastery from visual blocks to AI-native programming.
4+
5+
## Invariant
6+
7+
**Each level builds exactly on the previous—no concept is introduced without foundation.**
8+
9+
## Languages
10+
11+
| Level | Ages | Focus |
12+
|-------|------|-------|
13+
| Me | 6-8 | Visual/block-based |
14+
| Solo | 8-10 | First text-based, explicit effects |
15+
| Duet | 11-14 | AI-assisted, collaborative |
16+
| Ensemble | 15-18 | AI-native, professional |
17+
18+
## Run
19+
20+
```bash
21+
cargo run --bin solo
22+
cargo run --bin duet
23+
cargo run --bin ensemble
24+
```
25+
26+
## Status
27+
28+
🟡 TO VERIFY - Check sync with GitLab

languages/oblibeny.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Oblíbený
2+
3+
> Provably secure code for hostile environments.
4+
5+
## Invariant
6+
7+
**All programs must provably terminate—no unbounded recursion, no infinite loops.**
8+
9+
## Example
10+
11+
```scheme
12+
(forbid recursion)
13+
14+
(bounded-for i 0 100
15+
(process-byte (read-input i)))
16+
```
17+
18+
## Run
19+
20+
```bash
21+
cargo run
22+
```
23+
24+
## Status
25+
26+
🔴 DIVERGED - 40+ commits on GitLab, 30 on GitHub, needs manual merge

languages/phronesis.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Phronesis
2+
3+
> Formal specification of ethical AI frameworks.
4+
5+
## Invariant
6+
7+
**Every AI decision must be traceable to explicitly declared values.**
8+
9+
## Example
10+
11+
```
12+
Agent.SafetyBot
13+
Values:
14+
human_safety > task_completion
15+
transparency > efficiency
16+
17+
EVALUATE(action) WHERE
18+
action.risk_level < threshold
19+
```
20+
21+
## Run
22+
23+
```bash
24+
mix deps.get
25+
mix run
26+
```
27+
28+
## Status
29+
30+
🔴 DIVERGED - GitLab has original design, GitHub has Elixir implementation

languages/wokelang.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# WokeLang
2+
3+
> Human-centric programming focused on consent and well-being.
4+
5+
## Invariant
6+
7+
**No sensitive operation executes without explicit user consent.**
8+
9+
## Example
10+
11+
```
12+
only if okay "May I access your location?" {
13+
location = get_location()
14+
}
15+
16+
attempt {
17+
send_data(payload)
18+
} or reassure "Don't worry, we'll try again later."
19+
```
20+
21+
## Run
22+
23+
```bash
24+
cargo run
25+
```
26+
27+
## Status
28+
29+
🔴 DIVERGED - GitLab has original design, GitHub has Rust bytecode VM

0 commit comments

Comments
 (0)