Skip to content

aliwalker/AmberC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AmberC

AmberC is an experimental C compiler that emits x86-64 machine code. It is still at a very early stage. I'm currently working on the parser.

  • Expressions

    • identifier, integer, FP and string constant, and parenthesized-expression.
    • func-call and array access.
    • member-expression.
    • postfix-increment/decrement.
    • unary-expressions.
    • cast-expressions.
    • multiplicative- and additive-expressions.
    • shift-expressions.
    • relational-expressions.
    • equality-expressions.
    • bitwise-expressions(&, ^, |).
    • logical-expressions(&&, ||).
    • conditional-expressions(cond ? expr1 : expr2).
    • assignments.
    • initializers.
  • Types

    • qual/unqual simple types.
    • non-def struct or union types.
    • def struct or union types.

About

A simple C compiler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published