Parser implementation step 1.5, not complete

This commit is contained in:
Knut Sveidqvist
2025-08-07 15:06:34 +02:00
parent 7b4c0d1752
commit badbd38ec7
2 changed files with 862 additions and 30 deletions

View File

@@ -13,14 +13,11 @@ statement {
DEFAULT |
INTERPOLATE |
HREF |
LINK_TARGET |
NODE_STRING |
STR |
LINK |
PIPE |
SEMI |
AMP |
Hyphen |
At |
SquareStart | SquareEnd |
@@ -33,7 +30,13 @@ statement {
StadiumStart | StadiumEnd |
TrapStart | TrapEnd |
InvTrapStart | InvTrapEnd |
newline
newline |
// Vertex patterns - more specific to avoid conflicts
NODE_STRING AMP NODE_STRING |
NODE_STRING AMP NODE_STRING LINK NODE_STRING |
NODE_STRING LINK NODE_STRING AMP NODE_STRING |
NODE_STRING LINK NODE_STRING LINK NODE_STRING |
NODE_STRING
}
GRAPH { graphKeyword }

File diff suppressed because it is too large Load Diff