ariel-weiss / c_to_llvm

A compiler. Compiles from a subset of C to LLVM IR.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

c_to_llvm

A compiler.
Compiles from a subset of C to LLVM IR

How to use:


Copy hw5 folder to your machine
Use the makefile ('make' command)
Generate llvm file : ./hw5 < path-to/t1.in >&t1.ll
Use lli on the llvm file to run it : llipath-to/t1.ll> t1.res

About

A compiler. Compiles from a subset of C to LLVM IR.


Languages

Language:C++ 84.2%Language:Lex 9.6%Language:Shell 5.8%Language:Makefile 0.4%