view python/tests/code1.ks @ 177:460db5669efa

Added clean pass for IR
author Windel Bouwman
date Mon, 22 Apr 2013 23:54:54 +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.