Skip to content

janneku/jcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 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
  - Pointers
  - char/short/long integer sizes
  - Basic arithmetic
  - if-else
  - while() loops
  - for() loops
  - Function calls
  - Function arguments
  - String literals
  - Structs

Missing features:
  - Automatic type conversion
  - Bit operations
  - Logic || &&
  - Proper type preferences
  - Assigment operators += -=
  - Arrays
  - Typedefs
  - do {} while()
  - Type casting

About

Simple C compiler for x86-64

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages