view python/tests/code1.ks @ 171:3eb9b9e2958d

Improved IR code
author Windel Bouwman
date Wed, 03 Apr 2013 22:20:20 +0200
parents 9e552d34bd60
children
line wrap: on
line source

module s;
var a, b, c:integer;

procedure test(x:integer);
begin
   a := x * x + 1337;
   b := a * x
end test;

begin
  a := 4 + 6;
  b := a + 2*a - 3;
  c := a + b
end s.