Implemented print keyword and associated tests

This commit is contained in:
2024-10-07 12:13:06 +11:00
parent 956ebbeb28
commit ff13b5cf38
16 changed files with 346 additions and 60 deletions

View File

@@ -0,0 +1,5 @@
//print statement
print 42;
//it can handle complex expressions
print 3 * 5;

View File

@@ -1 +1,2 @@
(1 + 2) * (3 + 4);
//expression
(1 + 2) * (3 + 4);