Skip to content
Maximilian Berkmann edited this page Oct 29, 2016 · 3 revisions

Helpful Information

CondorLang uses the LazyParsing (JIT) method. A body scope "{}" won't be compiled and analyzed until it is used.

Basic Syntax

object Fruit{
	private string name;
	static string NAME = "Fruit";
	func Fruit(string name){
		this.name = name;
	}

	func getName(){
		return this.name;
	}
}

Extending an Object

Extending an object is quite simple, prepend a $ to the object name.

object $Fruit{
   string property;
}