Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.
/ Jazz Public archive

Jazz - register-based virtual machine and programming language

License

Notifications You must be signed in to change notification settings

playXE/Jazz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jazz (Unmaintaned, please see https://github.com/jazz-lang/

license

Jazz is a register-based virtual machine and lightweight programming language

Jazz is heavily inspired by Gravity language

Goals

  • Clear and simple syntax
  • Integration with Rust
  • Interfacing with other languages than Rust
  • Make VM suitable for object oriented programming

Non-goals

  • Write simple book for learning Jazz programming language
  • JIT compilation
  • Generating bytecode files

Example code

func factorial(num) {
    if num == 0 {
        return 1;
    } else {
        return num * factorial(num - 1);
    }
}

func main() {
    print(factorial(5));
    return 0;
}
class Vector2 {
    var x;
    var y;
    func init(a,b) {
        this.x = a;
        this.y = b;
        return this;
    }

    func toString() {
        return concat("(",this.x,";",this.y,")");
    }
}

func main() {
    var vector = Vector2(2,-2);
    print(vector.toString());
}

About

Jazz - register-based virtual machine and programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages