restore(lang): full lang tree from ff3ef452 (306 files) — compiler, vm, shared, runner, c-abi, etc.\n\n- Restores lang/ directory (files≈306, dirs≈64) as per historical branch with selfhost sources\n- Keeps our recent parser index changes in compiler/* (merged clean by checkout)\n- Unblocks selfhost development and documentation references

This commit is contained in:
nyash-codex
2025-10-31 20:45:46 +09:00
parent dbc285f2b1
commit e5f697eb22
244 changed files with 16915 additions and 47 deletions

View File

@ -0,0 +1,32 @@
[module]
name = "selfhost.shared"
version = "1.0.0"
[exports]
# JSON adapter facade and common helpers
json_adapter = "json_adapter.hako"
common.mini_vm_scan = "common/mini_vm_scan.hako"
common.mini_vm_binop = "common/mini_vm_binop.hako"
common.mini_vm_compare = "common/mini_vm_compare.hako"
common.string_helpers = "common/string_helpers.hako"
common.string_ops = "common/string_ops.hako"
common.box_helpers = "common/box_helpers.hako"
# JSON tooling
json.mir_builder_min = "json/mir_builder_min.hako"
json.mir_v1_adapter = "json/mir_v1_adapter.hako"
json.core.json_cursor = "json/json_cursor.hako"
json.utils.json_utils = "json/json_utils.hako"
# MIR helpers (exported as stable module names)
mir.schema = "mir/mir_schema_box.hako"
mir.builder = "mir/block_builder_box.hako"
mir.io = "mir/mir_io_box.hako"
mir.json_emit = "mir/json_emit_box.hako"
[private]
# Internal builders kept private for now
# json/mir_builder2.hako, json/json_inst_encode_box.hako
[dependencies]
"selfhost.vm" = "^1.0.0"