Quartz Programming Language
The Quartz programming language is a low level, easy to use programming language. It compiler directly to its own byte code that can only be run by a Quartz VM. Quartz has a high level language built into it so you can program in either one you want. It is developed in C#.

I just wrote a decompiler for Quartz.  

 

Bold = new commands

List of commands:

%include "filename"

func

ret

sysf_print

sysf_read

sysf_print_int

sysf_file_create

sysf_file_copy

sysf_file_delete

sysf_file_write

sysf_file_read

sysf_sleep

sysf_window_create

push str "<string>"

push int <integer>

pop

ldloc

stloc

je

jn

call

jmp

add

sub

mul

div


Code Examples

Hello World:

func main

push str "Hello, World!"

sysf_print

sysf_read

ret

 

Using Math:

func main

push int 10

push int 12

add

push int 2

div

push int 3

mul

push int 32

sub

sysf_print_int

sysf_read

ret

 

Getting Input:

func main

push str "You pressed: "

sysf_read

add

sysf_print

sysf_read

ret

Last edited Jul 15, 2012 at 8:15 PM by repulverized, version 16