Skip to content
/ MiniC Public

MiniC compiler for compiling practise in PKU

Notifications You must be signed in to change notification settings

ApostaC/MiniC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniC

MiniC compiler for compiling practise in PKU

Compile and Install

To compile, please ensure that there are flexand bison in the system, and the host c++ compiler should support c++14 standard.

cd ${ROOT_DIR_OF_MINIC}/

make

Three executables will be available in bin/.

Usage

cd bin/

./riscv64-linux-minic-as ${source_code}

Assume ${source_code} is test.c, after the execution, check test.S in the current directory. The output of eeyore, tigger and riscv64 are also stored in the current dir.

About

MiniC compiler for compiling practise in PKU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published