forked from syndicate-lang/preserves
11 lines
298 B
Plaintext
11 lines
298 B
Plaintext
|
version 1 .
|
||
|
|
||
|
Node = Text / Element .
|
||
|
Text = string .
|
||
|
Element =
|
||
|
/ @withAttributes
|
||
|
<<rec> @localName symbol [@attributes Attributes @children Node ...]>
|
||
|
/ @withoutAttributes
|
||
|
<<rec> @localName symbol @children [Node ...]> .
|
||
|
Attributes = { symbol: string ...:... } .
|