- Resolved all lexical blockers:
- Comments: -- single-line, {- -} multi-line
- Strings: "..." with escapes, """...""" raw
- Paths: Both 🖫"..." and \path"..."
- Fixed all 10 example files:
- Added semicolons to all statements
- Fixed factorial precedence
- Fixed network server forall loop
- Added comments to all examples
- Updated glyph-escapes.md with string escape sequences
- Updated math_prog_lang.md with complete lexical rules
- Fixed Chinese comma in structure list
- Updated README with badges and M0 exit criteria
- Marked ISSUE_M0_BLOCKERS.md as resolved
Ready for v0.1-alpha tag and ANTLR implementation
7 lines
No EOL
164 B
Text
7 lines
No EOL
164 B
Text
-- Metaprogramming with code quotation
|
||
generateFunction ≜ λname: ⌜
|
||
λx: x × 2
|
||
⌝;
|
||
|
||
doubler ← ⌞generateFunction("doubler")⌟;
|
||
result ← doubler(21); |