You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sol/foundation に libfnd のファイル・プロセス・コンソール API を追加する #91
compiler/VM/LSP を変える場合は VS Code 同梱コピーも同期し、Foundation focused tests と生成 WAX の実行を確認する。
先行: KAN-15。関連: KAN-17/KAN-19。
実装・完了報告の要旨(2026-10-22、ローカル main commit 77249b6 / 54ac58e):
sol/foundation/libfnd.sol と libfnd_bridge.c を追加し、実際の C libfnd(起動/argv/役割、stream/file/stat/cwd/console、exec/wait、alloc/free/strerror)を呼ぶ。tools/solc/build_foundation.py が C stack ABI へ橋渡しし、静的 PROTECTED WAX v2 または fnd WAL を import する WAX v3 を生成する。examples/foundation-sol/ に親(slot 5)と子(slot 6)のサンプル。
KAN-15 完了後に C libfnd へ fnd_dir_open/next/rewind、dir_make/remove、file_delete、sync を追加し sol から利用可能にした(WAL fnd 1.1、1.0 のシグネチャは不変)。ファイル書き込み・ディレクトリ列挙の実ゲスト確認まで完了。seek/truncate など C API 自体が未提供の操作は明記し、成功する stub としては公開していない。
Activity