Berkmann18 / Condor

A fast, simple, and intelligent new programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Condor Build Status

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.

Download

Linux Binary (64-bit)

Documentation

See Wiki for documentation.

Contributing:

See Contributing page in the wiki See Developers for building instructions.

Examples

Hello World

import "console"
println("Hello World");

Object Oriented

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());

Read File

import "fs"
string contents = fs.readFile("readme.md");

Building Instructions

CondorLang uses CMake to generate the Makefiles. The following commands build the project.

Build

  • make build - Builds the Condor program
  • make clean - Cleans all the object files

Running CondorLang

The run CondorLang, use the following commands. ./build/condor [file]

Todo Items

For a list of TODO items, see issues

About

A fast, simple, and intelligent new programming language

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 71.8%Language:C 23.6%Language:Twig 1.1%Language:CMake 1.1%Language:Python 1.0%Language:HTML 0.8%Language:PHP 0.3%Language:CSS 0.2%Language:Dockerfile 0.1%Language:Procfile 0.0%