GithubHelp home page GithubHelp logo

ccc's Introduction

C编译器功能TODO

声明

  • 存储类声明说明符(externstaticautoregistertypedef)
  • 类型限定符(constvolatilerestrict)
  • 声明说明符(charshortintlong)
  • 指针说明符(*)
  • 直接说明符([]())
  • 结构体说明符(struct or union {struct-declaration*}、struct or union tag{struct-declaration*})
  • 枚举说明符
  • 函数声明符(inline)

语句

  • if-else
  • switch-case-default
  • while
  • do-while
  • for
  • goto-label
  • break
  • continue
  • blockStmt

表达式

  • 逗号表达式(,)
  • 赋值表达式(=)
  • 赋值表达式(+=-=*=/=%=<<=>>=&=|=^=)
  • 条件表达式(?:)
  • 逻辑或表达式(||)
  • 逻辑与表达式(&&)
  • 按位或表达式(|)
  • 按位异或表达式(^)
  • 按位与表达式(&)
  • 相等表达式(==!=)
  • 关系表达式(>>=<<=)
  • 移位表达式(<<>>)
  • 加法表达式(+-)
  • 乘法表达式(*/)
  • 乘法表达式(%)
  • case表达式 ((type-name) unary-expression)
  • 一元表达式(+-&*)
  • 一元表达式(++- -)
  • 一元表达式(~!)
  • 一元表达式(sizeof unary-expression)
  • 一元表达式(sizeof (type-name))
  • 后缀表达式([ ]( ).)
  • 后缀表达式(++- -)
  • 基本表达式(idnum、(Expr)、StmtExpr)

词素

  • 整数解析(八进制、十进制、十六进制、后缀)
  • 浮点数解析 (后缀)
  • 字符解析(包含转义字符)
  • 字符串解析(包含转义字符)
  • 标识符(包含关键字)
  • 运算符、标点符号、分界符

操作系统平台

  • Linux
  • MacOSX

指令集

  • X86-64

ccc's People

Contributors

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