Code Monkey home page Code Monkey logo

my-compiler-designer's Introduction

编译器界面图:

NewSWTApp.java UI部分(SWT组件) github

运行方法 Usage

CFanalyze.java 词法分析部分

在文本域输入你的代码(按照我给的文法 文法在myG.txt里) github 先点击第一个button生成词法分析 github YFanalyze.java 词法分析部分

再点击第二个button把代码转义成适配文法标识符的输入串 github 点第三个Button进行语法分析 如果语法正确,显示accepted 如图: github 如果语法错误,显示错误以及错误的地方 YYanalyze.java 词法分析部分

点第四个button进行语义分析 生成四元式 github HBgenerate.java 词法分析部分

点第五个Button进行四元式翻译,翻译成汇编代码 github

my-compiler-designer's People

Contributors

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