Skip to content
/ jiyu Public

Modifying Machinamentum's Jiyu compiler for even more fun.

License

Notifications You must be signed in to change notification settings

zhuowei/jiyu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jiyu

A compiler for fun.

Quick Setup

Clone this repository:

git clone https://github.com/machinamentum/jiyu.git
cd jiyu

Build LLVM and jiyu:

Windows
docs\setup_windows.bat
mkdir build
cd build
cmake .. -G "Visual Studio 15 2017 Win64" -Thost=x64
cmake --build .
cd ..
macOS
docs/setup_unix.sh
mkdir build
cd build
cmake ..
cmake --build .
cd ..

docs\setup_windows.bat and docs/setup_unix.sh fetch, build, and install LLVM into <jiyu>/llvm. This may take awhile, go enjoy a walk on the beach or something!

Examples

The tests directory contain several isolated code examples for verifying compiler functionality. For a more in-depth example, see jiyu_game.

About

Modifying Machinamentum's Jiyu compiler for even more fun.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published