Skip to content
The Zeta Programming langauge
Java Other
  1. Java 98.5%
  2. Other 1.5%
Branch: master
Clone or download
Latest commit 7ac436a Aug 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
out/zeta build FixType Aug 21, 2018
zeta Fix typo Aug 21, 2018
#run.sh# file Aug 21, 2018
.buildlinux.sh.swp file Aug 21, 2018
.gitignore first Jul 19, 2018
LICENSE Initial commit Jul 19, 2018
README.md _ Jul 20, 2018
buildlinux.sh first Jul 19, 2018
installwindows.bat files for Windows Installation Jul 19, 2018
removelinux.sh sqrt Jul 21, 2018
removewindows.bat files for Windows Installation Jul 19, 2018
util.sh first Jul 19, 2018
zeta.bat files for Windows Installation Jul 19, 2018

README.md

Zeta Programming language

Zeta 0.1 is an imperative programming language made for educational purposes that supports Object Orientation and closures among other modern features.

  • Zeta is dynamically typed
  • Zeta has tight lexical scoping

How code looks like

// A counter
fn makeCounter() {
	let count = 0;
	fn increment() {
	count = count + 1;
	print count;
	}
	return increment;
}
let counter = makeCounter();
counter(); // prints 1
counter(); // prints 2
counter(); // prints 3

Installation

The out directory contains class files with Zeta as the main class.

buildlinux.sh is a loose script written for Linux systems :

  • $ git clone https://github.com/mirimmad/zeta-lang.git
  • $ cd zeta-lang
  • $ [sudo] sh buildlinux.sh
  • $ zeta or $ zeta script.zt

To install on Windows:

  • git clone https://github.com/mirimmad/zeta-lang.git
  • cd zeta-lang
  • Run installwindows.bat
  • zeta or zeta script.zt

To remove on Windows:

  • Run removewindows.bat

TO-DO

  • Library Support - Zeta currently does not support external libraries.
  • Replacement of Tree Walking interpreter by a VM.
  • Optimizations .

Contact

Twitter

You can’t perform that action at this time.