compiler, runtime: Evaluate Expressions in Expression Statements

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-04-20 03:35:00 -04:00
parent 5bc9db9aca
commit f687353326
3 changed files with 17 additions and 5 deletions
+5 -1
View File
@@ -18,7 +18,11 @@
import Common
public struct ExpressionStatement {
public init() {}
public let expression: EvaluatableExpression
public init(_ expr: EvaluatableExpression) {
self.expression = expr
}
}
public struct Program {