Skip to content

LiuChangFreeman/C--Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

实现了自制C--语言的一遍扫描编译,包括词法分析、LR(1)语法分析、属性文法+中间代码生成、MIPS汇编生成 编译脚本由Python实现,兼容python2.7与3.7,图形界面由WPF实现,使用了IronPython进行脚本执行

支持以下特性:

  1. 一种基本类型int
  2. 赋值表达式,循环/选择/判断/跳出语句
  3. 函数定义与函数调用

未实现:

  1. 浮点数、字符、字符串
  2. 数组
  3. 错误检查

About

C--compiler which implements LL(1)\LR(0)\SLR\LR(1) and semantic analysis and MIPS generate

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy