* WIP: sync before merging origin/main * fix: unify using/module + build CLI; add missing helper in runner; build passes; core smokes green; jit any.len string now returns 3 * Apply local changes after merging main; keep docs/phase-15 removed per main; add phase-15.1 docs and tests * Remove legacy docs/phase-15/README.md to align with main * integration: add Core-13 pure CI, tests, and minimal LLVM execute bridge (no docs) (#125) Co-authored-by: Tomoaki <tomoaki@example.com> --------- Co-authored-by: Selfhosting Dev <selfhost@example.invalid> Co-authored-by: Tomoaki <tomoaki@example.com>
22 lines
466 B
JSON
22 lines
466 B
JSON
{
|
|
"version": 0,
|
|
"kind": "Program",
|
|
"body": [
|
|
{
|
|
"type": "Return",
|
|
"expr": {
|
|
"type": "Logical",
|
|
"op": "||",
|
|
"lhs": { "type": "Bool", "value": true },
|
|
"rhs": {
|
|
"type": "Compare",
|
|
"op": "==",
|
|
"lhs": { "type": "Binary", "op": "/", "lhs": { "type": "Int", "value": 1 }, "rhs": { "type": "Int", "value": 0 } },
|
|
"rhs": { "type": "Int", "value": 1 }
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|