From 07b0a675d733c54ad395b085e2a10048c13b13c0 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Wed, 22 Feb 2023 15:05:44 -0500 Subject: basic addition and subtraction --- tnslc/simple.tnsl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tnslc/simple.tnsl') diff --git a/tnslc/simple.tnsl b/tnslc/simple.tnsl index 7cbd0fd..795b626 100644 --- a/tnslc/simple.tnsl +++ b/tnslc/simple.tnsl @@ -1,5 +1,6 @@ -int a = 2 +uint a = 2, b = 4 /; raw main [int] - raw return a + int c = a + b + raw return c + a - b ;/ \ No newline at end of file -- cgit v1.2.3