Skip to content

Compiler for currently unnamed C-like language targeting x86-64.

License

Notifications You must be signed in to change notification settings

respectable-citizen/nanahira-language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nanahira language

maybe you're thinking "a compiler, written in javascript? really? are you stupid?", and yeah but:

  • once it's all compiled runtime is the same, and i plan on making compilation zoomzoom fast
  • i also plan on rewriting the compiler in this language once its ready

features:

  • functions
  • arrays (currently limited to 1 dimension)
  • basic control flow (if/else, for, while)
  • importing different files
  • varargs
  • pointers and limited arithmetic with them
  • basic stdlib (printf, strlen, malloc)
  • inline asm

source files go in source directory with extension .txt (dont wanna lock myself into a specific extension yet)
compiled asm goes into output directory
will need to assemble and link it yourself

might rename it at some point to someone/something, havent decided yet
imagine having a whole programming language and compiler dedicated to you
that's like, the highest honor

About

Compiler for currently unnamed C-like language targeting x86-64.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published