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");
- node.h 28 - Create a Expand() function which expands the node and the tree
- execute.cc 121 - Figure out how to implement recursion
- execute.cc 220 - Set row and col for tracking
- execute.cc 469 - Implement null, undefined, and other types
- execute.cc 500 - Implement bitwise
- parser.cc 914 - Disallow for allow-native on a non internal file
- scanner.cc 466 - Include Octal, Hex, UTF-8, UTF-16, see https://msdn.microsoft.com/en-us/library/6aw8xdf2.aspx
- internal.cc 140 - Throw Error
- internal.cc 152 - Throw Error
- internal.cc 164 - Throw Error
- internal.cc 298 - Move to a macro
- semantics.cc 299 - Verify this is ok and always true
- semantics.cc 673 - Is this true always?
- semantics.cc 715 - Compare the base type with the assignment type. Throw an error if they are not the same if hard typed.
- path.cc 24 - Set Locale - http://askubuntu.com/questions/236924/matlab-not-working
- path.cc 78 - Throw Error