Commit c8b9d16
morphqdd
merge: #108 lash Phase 1 — schema builder API + smoke test
Phase 1 ships:
- parser(n) — fresh 4 KB schema buf.
- flag(p long short) / opt(p long short) / positional(p name) —
inline-able schema mutators (single-Ret bodies fold via #78 2a).
- get_flag / get_opt / get_positional — read accessors on a
populated schema.
- parse(p) — argv driver. Compiles, but actually running it on a
non-empty argv hits bug #130 (4+ buf-typed ret-machine wait
chain deadlock); blocked on #130 to flip the smoke from 'schema
only' to 'argv-driven'.
Smoke fixture under examples/lash_smoke/ exercises the schema
builders + get_flag against an empty schema.3 files changed
Lines changed: 725 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments