GithubHelp home page GithubHelp logo

the-2020-compiler-project / annual-salary-in-millions Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 7.67 MB

年薪百万队,计算机1803蒙龙-20184364,计算机1802刘文兴-20184402,计算机1803张翰韬-20183636,计算机1803钟洁-20184333

C++ 98.77% QMake 1.23%

annual-salary-in-millions's Introduction

编译原理课程设计

介绍

队伍名为年薪百万队,由四名同学组成,分别是:

  • 计算机1803蒙龙-20184364
  • 计算机1802刘文兴-20184402
  • 计算机1803张翰韬-20183636
  • 计算机1803钟洁-20184333

规范

规范第一版(待确定),暂定7.2日起实行。

  1. 代码规范
    • 在较难理解的地方写明注释
    • 使用utf-8编码
    • 缩进使用tab,长度为4
    • 换行符使用crlf
    • 文件结束插入一行空行,移除行尾空格
    • 使用vscode C/C++内置的WebKit风格进行代码格式化
  2. 仓库规范
    • develop分支进行开发,每次大更新mergemaster分支
    • commit message尽量做到简单明了,统一使用中文/英文

进度

第一天

完成分工、简易文法设计,完成了词法分析样例的编写(需要进一步修改)。

第二天

扩充词法分析,在讨论后更正了文法的一些错误,将文法改写为LL(1),使用递归下降子程序法实现语法分析(WIP)。

第三天

完成了使用递归下降子程序法的语法分析,基本完成了语义动作的设计,等待被插入到语法分析中。

增加四元式结构,在符号表中添加作用域栈解决标示符作用域问题。

第四天

通过在主程序中调用语法分析对其进行测试,修复了几个小bug,至此语法分析结束。紧接着开始尝试插入语义动作。

第五天

进行语义动作的插入,根据在实施过程中遇到的问题实时调整符号表(WIP)。

annual-salary-in-millions's People

Contributors

dragonmenglong avatar kanydao avatar amtoaer avatar rachel-joy-4 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.