Skip to content

tetsuo-cpp/fantac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FantaC

FantaC is an LLVM frontend for the C programming language.

Progress

Unusable.

Dependencies

  • CMake.
  • LLVM 5.
  • fmt.

Build

Bring in Git submodules.

git submodule init
git submodule update

Use CMake to generate a platform specific build script and then invoke that.

cmake .
make

Usage

You can generate LLVM IR for a C source file like so.

./fantac [FILE]

See compile.sh for an example of how you can use this in conjunction with llc to compile to an executable.

References

About

An LLVM frontend for the C programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published