Module parser

Source
Expand description

GGL language parser and Abstract Syntax Tree (AST) definitions. This module uses the pest library to parse GGL source code into a structured AST.

Structs§

ApplyStatement
EdgeDeclaration
ForStatement
Represents a for loop for iterative graph construction.
GenerateStatement
GglParser
GraphAST
LetStatement
Represents a let statement for variable assignment.
NodeDeclaration
Pattern
RuleDefinition

Enums§

Expression
Rule
Statement
StringPart

Functions§

parse_ggl
Parses a GGL source string into a Graph AST.