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:
nyash-codex
2025-11-06 15:41:52 +09:00
parent 2dc370223d
commit 77d4fd72b3
1658 changed files with 6288 additions and 2612 deletions

View File

@ -11,16 +11,16 @@
Usage:
pwsh -File tools/windows/build_app_egui_manual.ps1 \
-Input apps/egui-hello-plugin/main.nyash -Out app_egui.exe
-Input apps/egui-hello-plugin/main.hako -Out app_egui.exe
Options:
-Input : Path to Nyash Egui script (default: apps/egui-hello-plugin/main.nyash)
-Input : Path to Nyash Egui script (default: apps/egui-hello-plugin/main.hako)
-Out : Output exe path/name (default: app_egui.exe)
-Verbose: Prints extra logs
#>
param(
[Alias('Input')][string]$InputPath = "apps/egui-hello-plugin/main.nyash",
[Alias('Input')][string]$InputPath = "apps/egui-hello-plugin/main.hako",
[Alias('Out')][string]$OutputExe = "app_egui.exe",
[switch]$Verbose
)

View File

@ -1,7 +1,7 @@
# NOTE: Save this file with ANSI encoding (no BOM). Use only ASCII characters in this file.
param(
[Alias('Input')][string]$InputPath = "apps/egui-hello-plugin/main.nyash",
[Alias('Input')][string]$InputPath = "apps/egui-hello-plugin/main.hako",
[Alias('Out')][string]$OutputPath = "app_egui",
[switch]$Verbose
)
@ -14,7 +14,7 @@ $ErrorActionPreference = "Stop"
if ($Verbose) { $env:NYASH_CLI_VERBOSE = "1" }
# Normalize paths
if ([string]::IsNullOrWhiteSpace($InputPath)) { Fail "Input is empty. Example: -Input .\apps\egui-hello-plugin\main.nyash" }
if ([string]::IsNullOrWhiteSpace($InputPath)) { Fail "Input is empty. Example: -Input .\apps\egui-hello-plugin\main.hako" }
if ([string]::IsNullOrWhiteSpace($OutputPath)) { $OutputPath = "app_egui" }
try { $InputPath = (Resolve-Path $InputPath).Path } catch { Fail "Input script not found: $InputPath" }
if (-not [System.IO.Path]::IsPathRooted($OutputPath)) { $OutputPath = (Join-Path (Get-Location) $OutputPath) }

View File

@ -28,7 +28,7 @@ echo [build_llvm_windows] Build successful!
REM Build ny-echo-lite
echo [build_llvm_windows] Building ny-echo-lite...
powershell -ExecutionPolicy Bypass -File tools\build_llvm.ps1 apps\tests\ny-echo-lite\main.nyash -Out app_echo.exe
powershell -ExecutionPolicy Bypass -File tools\build_llvm.ps1 apps\tests\ny-echo-lite\main.hako -Out app_echo.exe
echo [build_llvm_windows] Done!
endlocal

View File

@ -124,7 +124,7 @@ if errorlevel 1 (
)
echo [OK] Build complete.
echo [HINT] AOT→EXE: powershell -ExecutionPolicy Bypass -File tools\build_llvm.ps1 apps\tests\ny-echo-lite\main.nyash -Out app_echo.exe
echo [HINT] AOT→EXE: powershell -ExecutionPolicy Bypass -File tools\build_llvm.ps1 apps\tests\ny-echo-lite\main.hako -Out app_echo.exe
endlocal
exit /b 0

View File

@ -10,7 +10,7 @@ cargo build --release --features llvm
REM Build ny-echo-lite to exe
echo Building ny-echo-lite...
powershell -ExecutionPolicy Bypass -File tools\build_llvm.ps1 apps\tests\ny-echo-lite\main.nyash -Out app_echo.exe
powershell -ExecutionPolicy Bypass -File tools\build_llvm.ps1 apps\tests\ny-echo-lite\main.hako -Out app_echo.exe
echo Done!
endlocal