Classes 12
This commit is contained in:
parent
52a7b73a9e
commit
d8ac625429
18 changed files with 417 additions and 186 deletions
17
test/ops.lox
Normal file
17
test/ops.lox
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
print 2 - 1;
|
||||
print 1 + 1;
|
||||
print 6 / 2;
|
||||
print 2 * 2;
|
||||
print 2 * 3 - 1;
|
||||
print 1 + 2 + 3;
|
||||
print 1 + 2 * 3;
|
||||
|
||||
print 2 <= 3 or false;
|
||||
print 1 > 2;
|
||||
|
||||
print 1 == 1;
|
||||
print 1 != 2;
|
||||
|
||||
print "hello, " + "world";
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue