Coder Social home page Coder Social logo

compiler's Introduction

Compiler

基于web端的编译器词法分析和语法分析

实现了词法分析和LR1语法分析。
code.txt是待分析的代码;
keyword.txt是语言的关键词;
lex.cpp是词法分析代码;
lex_analyze.txt是词法分析的结果;
lex_grammar.txt是词法的文法表示;
LR1_table.txt是LR1语法分析产生的LR1表;
main.cpp是主程序调用文件;
project_set.txt是LR1语法分析生成的项目集规范族;
syntax.cpp是语法分析的代码;
syntax_analyze.txt是语法分析的结果;
syntax_grammar.txt是语法的文法。
其余文件为.net网站文件。
代码高亮使用了codemirror插件。

compiler's People

Contributors

azorescabbage avatar

Watchers

 avatar

Forkers

myplanmydream

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.