Programming Language Design using GOLD Parser Builder System
Start
int x=123;
real i = 123.456;
string s = 'abcdefg';
from int i = 0 to i < 7 :
if i >= 7 :
y--;
else
x++;
::
::
function void DoSomething(int x, int y) :
int z = x + y;
::
DoSomething(12, 14);
Class MyClass :
protected int x = 0;
private int x = 0;
public function void MyFunc(int x, int y) :
y = x + y;
::
::
End