-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] Move files out of lazylex/
Preparing for data_lang/htm8.py. Add htm8.asdl. Not used yet.
- Loading branch information
Andy C
committed
Jan 14, 2025
1 parent
108f1a3
commit 69df0b2
Showing
6 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
module htm8 | ||
{ | ||
|
||
h8_id = | ||
Decl | ||
|
||
# CommentBegin, ProcessingBegin, CDataBegin are "pseudo-tokens", not visible | ||
| Comment | CommentBegin | ||
| Processing | ProcessingBegin | ||
| CData | CDataBegin | ||
|
||
| StartTag | StartEndTag | EndTag | ||
|
||
| DecChar | HexChar | CharEntity | ||
|
||
| RawData | HtmlCData | ||
|
||
| BadAmpersand | BadGreaterThan | BadLessThan | ||
|
||
| Invalid | ||
| EndOfStream | ||
generate [no_namespace_suffix] # cosmetic: call it h8_id, not h8_id_e | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters