Skip to content

TuringQ-Infra/cocktail-lang

 
 

Repository files navigation

cocktail language

support version ci

To be an intergrated programming language of C++. As a step by step implementing of Carbon. In Early Time!!!

Build

depends on LLVM, only testing in Ubuntu yet.

required command:

sudo apt-get install cmake g++ clang-15 bison flex libgtest-dev libgmock-dev make valgrind libbenchmark-dev llvm-15-dev libmlir-15-dev libclang-15-dev

> mkdir build
> cd build
> cmake .. -DCMAKE_CXX_COMPILER=/usr/bin/clang++-15
> make -j$(nproc)
> ctest -j$(nproc)

you should use clang++ to build.

Basic grammar examples

preview in folder: TestCase

About

Experimental attempt on LLVM. A step by step forking of Carbon.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.8%
  • CMake 2.2%