platoneko / mini-cc

HUST 编译原理实验

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mini-cc

Requirements

  • bison
  • flex

Supported Syntax

  • datatype: int, float, char (only int in generating mips)
  • function define, call
  • array(Not pointer! Any arbitrary memory operation is not allowed!)
  • while, nested if else
  • // & /*...*/ style comment

Usage

make
bin/mini-cc <YOUR MINI-C FILE>

About

HUST 编译原理实验


Languages

Language:C 58.6%Language:C++ 36.5%Language:Yacc 3.1%Language:Lex 1.9%Language:Makefile 0.0%