Condor is intended to be another simple and intuitive programming language. The syntax is familiar by design, but allows for the combining of a few concepts.
See Wiki for documentation.
See Contributing page in the wiki See Developers for building instructions.
import "console"
println("Hello World");
import "console"
object Fruit{
private string _name;
func Fruit(string name) this._name = name;
func getName() return this._name;
func toString() {
return "The name of this fruit is: " + this._name;
}
}
var apple = new Fruit("Apple");
Fruit banana = new Fruit("Banana");
println("First fruit: " + apple.getName() + ", Second fruit: " + banana.getName());
import "fs"
string contents = fs.readFile("readme.md");
CondorLang uses CMake to generate the Makefiles. The following commands build the project.
make build
- Builds the Condor programmake clean
- Cleans all the object files
The run CondorLang, use the following commands.
./build/condor [file]
For a list of TODO items, see issues