Added test for groups and precedence

main
Øyvind Skaaden 2022-02-14 15:30:01 +01:00
parent 525c2b1f6a
commit c902edccd5
1 changed files with 3 additions and 1 deletions

View File

@ -1,14 +1,16 @@
func main()
begin
var a, b, c, d
var a, b, c, d, e
c := 1
a := 3
b := a + c // 4
d := a * 100 + 50
e := d + 100 * 2 + (50 + 3 * e)
print "a", a
print "b", b
print "c", c
print "d", d
print "e", e
if a = 14 then
print 1, "N", d / 5 + a, "RPR", a, "TERS "
else