Skip to content

Programming Language Design using GOLD Parser Builder System

Notifications You must be signed in to change notification settings

mohabmes/PL-Design

Repository files navigation

PL-Design

Programming Language Design using GOLD Parser Builder System

Syntax

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

About

Programming Language Design using GOLD Parser Builder System

Topics

Resources

Stars

Watchers

Forks

Languages