Git Product home page Git Product logo

lexer-for-simple-c's Introduction

lexer-for-simple-C

a lexer for simple C in language C 简易C语言词法分析器 code rule: identification for variable 1 ID const int 2 CINT const real 3 CREAL const char 4 CCHAR const string 5 CSTRING Main 6 MAIN Void 7 VOID int 8 INT Char 9 CHAR Float 10 FLOAT Printf 11 PRINTF Scanf 12 SCANF Else 13 ELSE If 14 IF Return 15 RETURN while 16 WHILE string 17 STRING

  • 100 ADD
  • 101 SUB
  • 102 MUL / 103 DIV = 104 ASSIGN

105 GT < 106 LT <= 107 NGT = 108 NLT % 109 MOD ! 110 NOT && 111 AND || 112 OR == 113 EQUAL & 114 QUOTE | 115 DQUOTE , 150 COMMA ; 151 SEMI ( 152 LBR ) 153 RBR [ 154 LSBR ] 155 RSBR { 156 LBRACE } 157 RBRACE

lexer-for-simple-c's People

Contributors

zhengzhehui1110 avatar

Watchers

 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.