Giter Site home page Giter Site logo

c-compiler's Introduction

C++实现 类C语言编译器

Author:Zhouqi Hua

Data:2024/5/15

image-20240517150932376

使用 C++ 实现类C语言的词法分析语法分析语义分析中间代码生成汇编代码生成

使用 LR(1) 实现语法分析。

函数调用逻辑图:

函数调用逻辑图

2024/5/16:代码部分完成,实验报告后续更新。

2024/5/17:实验报告已更新。

特别鸣谢:

实现原理、思路及部分代码借鉴同济20级计算机专业 Lam 同学

c-compiler's People

Contributors

huahenry avatar

Watchers

 avatar

c-compiler's Issues

UP您好,希望进一步了解您的代码

学长你好,我在github上下载了您写的c语言编译器,目前我们也正在做这门课程设计。您上传的代码中似乎缺少了grammer.txt的文件,最好也能够附有用于测试的.c文件,我想仔细学习一下您的代码特别是文法构建以及最终的汇编部分,不知道您是否能够将文法发送给我,十分期待您的回信,深表感谢。

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.