- lexer: backtick raw text literal — content verbatim, no escape
processing, common source margin removed at lex time; `${ }` raw and
`{{ }}` auto-escaping holes
- `{{ e }}` desugars to `esc(${e})` in parser.ml — a Call on the `esc`
in scope, so types/owner/emit/.wob/VM are untouched
- WO-E004 unterminated raw literal; WO-E005 newline inside "..." —
closes a hole where a missing quote silently ate the rest of the file
- wo-html: `Component` interface, `render_all`, `Layout`, README
- framework: `ok_html` joins ok_text/ok_json in http/types.wo
- site + shop restructured to one-feature-one-module MVC (view +
controller per directory, model at the root, bootstrap-only main)
- removed the filler `pad: Int` convention — verified unnecessary for
plain classes, interface dispatch, containers and actors
- corrected recorded claims: gap #1 blocks neither the build nor the
layout; a class crosses module lines, only a free fn is scoped
- docs/guides/language-surface.md — the full grammar inventory
- story 37 landed and moved to done/
Gates: oop-accept MET, oop-e2e 116/0, woc-test 556/0, site 11/0,
web-app 46/0, fibers 10/0, db-actor 8/0
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
42 lines
602 B
Text
42 lines
602 B
Text
1:71 NEWLINE
|
|
4:1 KW_FN
|
|
4:4 IDENT(page)
|
|
4:8 LPAREN
|
|
4:9 IDENT(name)
|
|
4:13 COLON
|
|
4:15 IDENT(Text)
|
|
4:19 RPAREN
|
|
4:21 ARROW
|
|
4:24 IDENT(Text)
|
|
4:29 LBRACE
|
|
4:30 NEWLINE
|
|
5:3 KW_LET
|
|
5:7 IDENT(one)
|
|
5:11 EQ
|
|
5:13 STR(<div>hi</div>)
|
|
5:28 NEWLINE
|
|
6:3 KW_LET
|
|
6:7 IDENT(verbatim)
|
|
6:16 EQ
|
|
6:18 STR(a"b\n)
|
|
6:25 NEWLINE
|
|
7:3 KW_LET
|
|
7:7 IDENT(block)
|
|
7:13 EQ
|
|
7:15 STR(<div class="card">
|
|
many
|
|
line
|
|
</div>
|
|
)
|
|
12:4 NEWLINE
|
|
13:3 KW_LET
|
|
13:7 IDENT(holes)
|
|
13:13 EQ
|
|
13:15 INTERP_STR(TEXT(<p>),EXPR(name),TEXT(),ESC( name ),TEXT(</p>))
|
|
13:41 NEWLINE
|
|
14:3 KW_RETURN
|
|
14:10 IDENT(block)
|
|
14:15 NEWLINE
|
|
15:1 RBRACE
|
|
15:2 NEWLINE
|
|
16:1 EOF
|