Coder Social home page Coder Social logo

meakuku / compiler2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anthonyhaozezhu/compiler

0.0 0.0 0.0 2.31 MB

南开大学编译原理课程所编写的简易编译器

C++ 45.10% C 22.84% Java 3.56% Assembly 1.61% TeX 9.65% Makefile 2.42% Yacc 9.39% Lex 5.43%

compiler2's Introduction

$\color{red}{NKU同学参考前务必阅读我主页readme中的内容},Lab 7好像是不完整版的,你们注意甄别$

编译原理编译器实现

朱浩泽 计算机科学与技术 1911530

  1. 预备实验2截止日期2021年10月13日
  2. 实验4的截止日期是2021年11月1日
  3. 实验5的截止日期是2021年11月15日
  4. 实验6的截止日期是2021年11月29日

注意

2021年11月26日换电脑进行更新

Bison使用方法

使用 bison -v filename.y 命令编译时(注意,要加-v参数),会生成filename.output文件,这个文件是个文本文件,里面说明了该语法分析器使用的识别活前缀的DFA。如果你在文法说明文件中定义的文法有冲突,则该文件还会报告冲突产生的位置和原因。例子calculator0中给出了一个无冲突的cal0.output文件,例子calculator3给出了一个有移进-归约冲突的cal3.output文件,这两个文件中都有对关键部分的注释,请仔细阅读。

compiler2's People

Contributors

anthonyhaozezhu 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.