Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gmh5225/colgm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colgm Compiler Project

This is the main repository for Colgm compiler.

Content

Bootstrap

Use these commands to build the bootstrap compiler:

mkdir build
cd build
cmake ../bootstrap
make -j

The executable is located as build/colgm.

In directory bootstrap, use this command:

make out.ll

The generated llvm ir will be generated with filename out.ll.

Hello World

Hello world example is available in bootstrap:

func puts(v: i8*) -> i32;

func main() -> i64 {
    puts("hello world!");
    return 0;
}

About

✨ Experimental compiler project just for fun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.7%
  • Nasal 4.4%
  • Other 0.9%