phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
@ -43,7 +43,7 @@ src/backend/llvm/
|
||||
|
||||
```bash
|
||||
# Run with mock LLVM backend
|
||||
cargo run -- --backend llvm test_program.nyash
|
||||
cargo run -- --backend llvm test_program.hako
|
||||
|
||||
# This will:
|
||||
# 1. Parse Nyash source to AST
|
||||
@ -63,7 +63,7 @@ sudo apt install llvm-17-dev clang-17
|
||||
cargo build --features llvm --release
|
||||
|
||||
# Run with real LLVM backend
|
||||
cargo run --features llvm -- --backend llvm test_program.nyash
|
||||
cargo run --features llvm -- --backend llvm test_program.hako
|
||||
|
||||
# This will:
|
||||
# 1. Parse Nyash source to AST
|
||||
@ -78,7 +78,7 @@ cargo run --features llvm -- --backend llvm test_program.nyash
|
||||
|
||||
### Basic Return Test
|
||||
|
||||
**File**: `local_tests/test_return_42.nyash`
|
||||
**File**: `local_tests/test_return_42.hako`
|
||||
```nyash
|
||||
static box Main {
|
||||
main() {
|
||||
@ -95,7 +95,7 @@ static box Main {
|
||||
|
||||
```bash
|
||||
# Test mock implementation
|
||||
cargo run -- --backend llvm local_tests/test_return_42.nyash
|
||||
cargo run -- --backend llvm local_tests/test_return_42.hako
|
||||
echo "Exit code: $?"
|
||||
|
||||
# Should show mock execution and exit code 0 (42 when real implementation is complete)
|
||||
|
||||
Reference in New Issue
Block a user