gaocegege / CompilerLab

A tricky compiler generator

Home Page:http://gaocegege.com/CompilerLab/

Repository from Github https://github.comgaocegege/CompilerLabRepository from Github https://github.comgaocegege/CompilerLab

A Toy Compiler

Join the chat at https://gitter.im/gaocegege/CompilerLab

项目地址

本项目所有内容在Github上可获得,地址为https://github.com/gaocegege/CompilerLab

代码说明文档

http://gaocegege.com/CompilerLab/

文件结构

source/								源代码文件夹
	LLVM-Simple-Wrapper/			LLVM封装代码
	UI/								图形化界面
	parser/							前端
	semantic/						语义分析
	ml.cpp							编译文件
	ml_clang						二进制文件
	...
bnf/
	syntax.md						bnf文件
case/								各种用例,有正确的有错误的用例
Final/
	...								放置各种答辩需要的材料
labenv/								无意义
asm/								无意义

编译命令

./ml.cpp
./ml_clang <filename>

About

A tricky compiler generator

http://gaocegege.com/CompilerLab/


Languages

Language:C++ 45.1%Language:HTML 38.6%Language:LLVM 8.8%Language:OCaml 4.2%Language:Python 1.5%Language:Assembly 0.9%Language:QMake 0.5%Language:Shell 0.3%