Giter Club home page Giter Club logo

nju_compilerlab's Introduction

南京大学编译原理课程的配套实验

实验一:词法分析与语法分析

个人认为实验一难度不大,比较适合入门。

实验二:语义分析

实验二难度适中,但是略微繁琐,需要设计好数据结构。实验二的数据结构很重要,在之后的实验都用得上。

实验三:中间代码生成

实验三难度较高。中间代码的生成不难,按照实验指导书上写即可。但是中间代码的优化难度较大。建议提前看一下书中第八、九章的内容。一定要注意优化的时候不要贪心,过度的优化反而会导致很难察觉到的错误。

实验四:目标代码生成

实验四难度可以高,也可以低。因为最终评判的标准仅仅在于生成的目标代码的正确与否。而生成目标代码的方式可以很优雅但是实现起来稍复杂,也可以很粗暴但是实现起来较简单。

nju_compilerlab's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.