ludic/selfhost/compile.sh
Orkuncakilkaya 985f9ad8f2 Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete
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>
2026-08-27 15:15:35 +03:00

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"