Giter VIP home page Giter VIP logo

complier's Introduction

python写的java的小小编译器

  • 目标是实现词法分析和语法分析

  • 测试用例放在同一文件夹中:test.java

  • 2014.6.15完成词法分析

  • 2014.6.17完成词法分析

  • 2014.6.17.2:30添加文件操作,实现写入文件功能。在当前目录生成lexer.txt和parser.txt文件

  • 此项目参考shiyanhuiCompiler for C language with python

###说明 适合windows CLI,具体可以参见代码,很容易明白。当然代码还需最终修改一下,有个GUI最好。不过应该能交作业了。

complier's People

Contributors

etrick avatar

Watchers

James Cloos avatar  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.