wip(phase15): AOT修正作業中 - Nyプラグインと標準ライブラリ実装

Phase 15のAOT/ネイティブビルド修正作業を継続中。
ChatGPTによるstd実装とプラグインシステムの改修を含む。

主な変更点:
- apps/std/: string.nyashとarray.nyashの標準ライブラリ追加
- apps/smokes/: stdライブラリのスモークテスト追加
- プラグインローダーv2の実装改修
- BoxCallのハンドル管理改善
- JIT hostcall registryの更新
- ビルドスクリプト(build_aot.sh, build_llvm.sh)の調整

まだ修正作業中のため、一部の機能は不完全な状態。

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Tomoaki
2025-09-06 06:24:08 +09:00
parent 020990463d
commit 7d88c04c0e
107 changed files with 4811 additions and 373 deletions

View File

@ -25,6 +25,11 @@ build_plugin plugins/nyash-math-plugin
export NYASH_CLI_VERBOSE=1
# Default: keep strict diagnostics off for plugin smoke unless explicitly enabled
if [[ "${NYASH_PLUGINS_STRICT:-0}" == "1" ]]; then
echo "[Plugins] Strict: ON" >&2
else
echo "[Plugins] Strict: OFF" >&2
fi
if [[ "${NYASH_PLUGINS_STRICT:-0}" != "1" ]]; then
# Override strict legacy MIR diagnostics for plugin smoke by default
export NYASH_OPT_DIAG_FORBID_LEGACY=0