view python/tests/code1.ks @ 110:9e552d34bd60

Work on compiler
author Windel Bouwman
date Fri, 04 Jan 2013 15:25:58 +0100
parents 8267ba1dbce3
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.