Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Tao-kun/Expresser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 26, 2019
b4637bb · Dec 26, 2019

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C0 - Expresser

完成部分

  • 基础C0

  • (1)注释

  • (2)字符字面量与字符串字面量(仅限print

  • (3)do...while

  • (5)for

  • (5)switchbreak

  • (3)作用域与生命周期

  • 类型转换(char/double前置)

  • (9)char(能够参与运算)

  • (10)double

用法

Usage: cc0 [options] input

Positional arguments:
input           Source code file[Required]

Optional arguments:
-h --help       show this help message and exit
-c              Binary
-s              Assembly
-o --output     Output file

未指定输出文件名时,默认为out

Releases

No releases published

Packages

No packages published