From a8b21ebd34aa2d1d750eecc22f3f252c04198fd0 Mon Sep 17 00:00:00 2001 From: Cody Date: Fri, 23 Jun 2023 22:01:38 -0500 Subject: Integrated symbol tables into AST --- examples/hello.sloth | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/hello.sloth') diff --git a/examples/hello.sloth b/examples/hello.sloth index fea5304..8b395e8 100644 --- a/examples/hello.sloth +++ b/examples/hello.sloth @@ -1,8 +1,9 @@ fn main() { var i: Int = 10; - var j: Int = int(1.0) - 1; + var j: Int = 1.0 - 1; while i > j { i = i - 1; } + example(i); } -- cgit v1.2.3