Skip to content

peterdelevoryas/pdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdc

This project is written in C, but it's using my fork of Clang which adds a bunch of syntax changes to the language.

git clone https://github.com/peterdelevoryas/llvm-project
cd llvm-project
mkdir build
cd build
cmake -G Ninja -DLLVM_ENABLE_PROJECTS=clang ../llvm
ninja clang
cd ../..
git clone https://github.com/peterdelevoryas/pdc
cd pdc
mkdir build
cd build
cmake -G Ninja -DCMAKE_C_COMPILER=../../llvm-project/build/bin/clang ..
ninja
./pdc ../test.pd ../libc.pd
./a.out

About

Rewrite of my previous compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published