Add XIC v1 Engine — Execute-In-Compressed Runtime Integration

- Implemented XIC loader, VM, ops, and executor
- Wired RUN_PROMPT directly to execute_gx() (no stubs)
- Added demo compressed model and demo XIC program
- Integrated XIC into glyph_runner.py with --xic flag and shell support
- Added full validation suite and XIC_INTEGRATION_REPORT.md
- Verified real GSZ3 decompression and execution pipeline

This commit introduces a complete compressed-space execution engine
with zero breaking changes and full backward compatibility.
This commit is contained in:
GlyphRunner System
2026-05-21 01:01:10 -04:00
parent 0f5e42dce6
commit df19777505
9 changed files with 503 additions and 2 deletions
+18 -1
View File
@@ -1,10 +1,27 @@
import sys
from pathlib import Path
from xic_shell import xic_cli
from xic_executor import run_xic
def main():
argv = sys.argv[1:]
if not argv:
print("Usage: glyph <command>")
print("Usage: glyph <command> [options]")
print(" glyph xic [run|inspect|...] - XIC shell")
print(" glyph --xic <path> - Run XIC program directly")
return
# Check for --xic flag (direct XIC execution)
if argv[0] == "--xic":
if len(argv) < 2:
print("Usage: glyph --xic <xic_program.gx.json>")
return
xic_path = argv[1]
try:
run_xic(xic_path, debug=False)
except Exception as e:
print(f"Error: {e}")
sys.exit(1)
return
cmd = argv[0]