Giter Site home page Giter Site logo

cparser's Introduction

CParser

自己做的toys,纯属娱乐 :)

主要功能

  1. 解析C文件
  2. 生成语法树
  3. 构造指令集
  4. 建立虚拟机

进度

  1. 完善Lexer
    1. 识别数字
    2. 识别变量名
    3. 识别空白字符
    4. 识别字符
    5. 识别字符串
    6. 识别注释
    7. 识别关键字
    8. 识别操作符
    9. 解析json11实例
    10. 错误处理
  2. 完善Parser
    1. 识别函数
    2. 识别枚举
    3. 识别表达式
    4. 识别基本结构
  3. 完善虚拟机
    1. 实现虚页

截图

词法分析

解释器

参考

  1. write-a-C-interpreter

cparser's People

Contributors

bajdcc avatar

Watchers

 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.