Giter Club home page Giter Club logo

syntaxanalyzer's Introduction

语法分析程序

编写语法分析程序,实现对算术表达式的语法分析,要求所分析算数表达式由如下的文法产生。

  • E→E + T | E - T | T
  • T→T * F | T / F | F
  • F→(E) | num

编写 LL(1)语法分析程序,要求如下。

  • 编程实现算法 4.2,为给定文法自动构造预测分析表。
  • 编程实现算法 4.1,构造 LL(1)预测分析程序。

编写语法分析程序实现自底向上的分析,要求如下。

  • 构造识别该文法所有活前缀的 DFA。
  • 构造该文法的 LR 分析表。
  • 编程实现算法 4.3,构造 LR 分析程序。

syntaxanalyzer's People

Contributors

jraaay avatar

Watchers

 avatar

Forkers

zerolzx

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.