Giter Site home page Giter Site logo

compilers's Introduction

Compilers

Project 1

词法分析

  • 使用GNU Flex工具实现词法分析器的功能;

即撰写一些正则表达式,较为简单;

语法分析

  • 使用GNU Bison工具实现语法分析器的功能;
  • 按要求输出语法树;

即在action增加自己写的"SyntaxTree.h"的建造,辅以错误恢复,难度一般;

Project 2

语义分析

  • 自顶向下进行SDT,实现属性文法;
  • 撰写类型表示、符号表的数据结构;
  • 对上下文无关文法进行一定的补充满足附加条件;

主要工作为设计数据结构,在SDT中对对应文法增加acion,代码量较大,难度一般;

版权所有:正在上编译原理课,注意查重,仅供参考;

compilers's People

Contributors

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