Skip to content

janneku/jcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jcc - Small C compiler for x86-64
Copyright 2012 Janne Kulmala <[email protected]>

Program code is licensed with GNU LGPL 2.1. See COPYING.LGPL file.

The generated code uses GNU assembler syntax.

Implemented:
  - Register allocation
  - Type system with following types: void/char/int
  - Basic arithmetic
  - if() {}
  - while() {}
  - Function calls
  - Function arguments
  - Strings
  - Initial support for pointers

Missing features:
  - Automatic type conversion
  - Bit operations
  - else branch to if
  - Logic || &&
  - Proper type preferences
  - Assigment operators
  - Structs
  - Arrays
  - Typedefs
  - do {} while()
  - for() loops
  - Type casting

About

Simple C compiler for x86-64

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages