Skip to content

jmorla/deux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deux Programming Language

Deux is an experimental programming language designed to explore innovative language features

Build & Execution

$  ant package

sample.de

return 10 abcd; //invalid token abcd 
$ java -jar ./build/deuxc.jar docs/sample.dx

# output
sample.de:2:11  Error 'abcd' unrecognized symbol
   2 | return 64 abcd;
     |           ^

Compilation Goal

The goal is to compile the following statement

return 64;

to this equivalent assembly nasm code

global _start

_start:
    mov rax, 60
    mov rdi, 64
    syscall

About

Deux Programming Language

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages