compiler, runtime: Begin Runtime Refactor
Ultimately, the goal is to completely separate the compilation from the runtime to make it possible to have the interpreter/evaluator be "just another" entity that can perform meaningful work when given a parsed GP4 program. Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -18,9 +18,9 @@
|
||||
import Common
|
||||
|
||||
public struct ExpressionStatement {
|
||||
public let expression: EvaluatableExpression
|
||||
public let expression: P4Expression
|
||||
|
||||
public init(_ expr: EvaluatableExpression) {
|
||||
public init(_ expr: P4Expression) {
|
||||
self.expression = expr
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user