Start Evaluation

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-02-10 03:37:57 -05:00
parent 0dd5ce4be3
commit 3693bdc02d
15 changed files with 635 additions and 119 deletions
+4 -1
View File
@@ -17,6 +17,10 @@
import Common
public struct ExpressionStatement {
public init() {}
}
public struct Program {
public var types: [P4Type] = Array()
@@ -29,7 +33,6 @@ public struct Program {
public func find_parser(withName name: Identifier) -> Result<Parser> {
for type in self.types {
print("type: \(type)")
guard let parser = type as? Parser else {
continue
}