Code Monkey home page Code Monkey logo

compiler_lab's Introduction

代码来自:https://github.com/UnableToCode/CompilerLab

我修改了一点点,使代码能在我机器上正常运行。

Lab1:

  • 去除了编译时的-ly选项
  • 修改了yyerror函数,添加了声明,使得编译不会报warning
  • make:编译
  • make test:测试
  • make clean:清除编译、测试生成的文件

Lab2:

  • 修复了源代码运行测试用例s13.cmm时出现的free(): double free detected in tcache 2 Aborted (core dumped)的错误
  • 添加了实验指导书上的17个必做测试用例
  • make
  • make test
  • make print:将所有的测试用例及其输出重定向至一个文件中
  • make clean

compiler_lab's People

Watchers

 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.