Skip to content

ysm001/kaleidoscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kaleidoscope

Implementing a language with LLVM

Compile

clang++ -g ./src/runtime.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o kaleidoscope

Usage

./kaleidoscope Run as interpretor

Options

-i=<file_name> Read program from <file_name>

-o=<file_name> Write result to <file_name>

--dump-enabled Dump LLVM IR

--opt-enabled Enable optimization

--dump-only Dump LLVM IR without execution

About

Implementing a language with LLVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages