Self-hosted compiler (selfhost/*.ludic), runtime, examples, editor tooling, and docs. Phase 1 of the syntax-redesign cohesion pass has landed: edge-system fix, signature-query, when-alias, and the documentation truth-pass. Suite green (14/14), C-free bootstrap fixpoint holds. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
8 lines
277 B
Bash
Executable file
8 lines
277 B
Bash
Executable file
#!/bin/bash
|
|
# compile.sh — compile a .ludic file with the self-hosted compiler and link it.
|
|
# ./selfhost/compile.sh <selfhost-binary> <input.ludic> <output-binary>
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
SH="$1"; IN="$2"; OUT="$3"
|
|
"$SH" "$IN" > "$OUT.ll"
|
|
clang "$OUT.ll" -o "$OUT"
|