Skip to content

MateLing/CompilerLab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

Releases

No releases published

Packages

No packages published

Languages

  • C++ 45.2%
  • HTML 38.6%
  • LLVM 8.8%
  • OCaml 4.2%
  • Python 1.5%
  • Assembly 0.9%
  • Other 0.8%