Package CC is a C99 compiler front end.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
testdata Fix C++ style comment lexical grammar. Closes #93. Apr 22, 2017
v2 Fix few bugs. Sep 21, 2018
AUTHORS Add self to AUTHORS/CONTRIBUTORS Oct 10, 2017
CONTRIBUTORS Add self to AUTHORS/CONTRIBUTORS Oct 10, 2017
LICENSE Add initial content. Mar 3, 2016
Makefile Add ImportPath(). Jan 25, 2017
README.md Add list of required packages. Aug 1, 2018
all_test.go Fix C++ style comment lexical grammar. Closes #93. Apr 22, 2017
ast.go Fix typedef function parameter types. Updates cznic/ccir#7. Oct 16, 2017
ast2.go Fix typedef function parameter types. Updates cznic/ccir#7. Oct 16, 2017
ast_test.go Fix typedef function parameter types. Updates cznic/ccir#7. Oct 16, 2017
cc.go v2: Make tests pass. Jul 1, 2018
cpp.go Fix search paths handling. Oct 21, 2017
encoding.go Make signed char equivalent of char as in signed int is equivalent of… Apr 6, 2017
etc.go Add support for 99c. Oct 21, 2017
generate.go Close the file before Remove Oct 10, 2017
global.go TestDevEmacs: WIPS. Mar 18, 2016
kind_string.go Fix Model.BinOpType. Mar 22, 2017
lexer.go Fix lexer encoding. Closes #81. Jan 8, 2017
linkage_string.go Fix Model.BinOpType. Mar 22, 2017
model.go Fix Model.binOp(). Mar 22, 2017
namespace_string.go Fix Model.BinOpType. Mar 22, 2017
parser.go Fix typedef function parameter types. Updates cznic/ccir#7. Oct 16, 2017
parser.y Fix typedef function parameter types. Updates cznic/ccir#7. Oct 16, 2017
parser.yy implement anonymous member lookup for structs (workaroundish) Apr 26, 2017
scanner.go Fix typedef function parameter types. Updates cznic/ccir#7. Oct 16, 2017
scanner.l Fix C++ style comment lexical grammar. Closes #93. Apr 22, 2017
scope_string.go Fix Model.BinOpType. Mar 22, 2017
trigraphs.go Fix typedef function parameter types. Updates cznic/ccir#7. Oct 16, 2017
trigraphs.l Add initial content. Mar 3, 2016
ucn32.go Add initial content. Mar 3, 2016
ucn64.go Add initial content. Mar 3, 2016
xerrors Add initial content. Mar 3, 2016

README.md

cc

Package CC is a C99 compiler front end.

Installation

$ go get github.com/cznic/cc

Documentation: godoc.org/github.com/cznic/cc

Building with make requires indent(1) and the following Go packages

  • github.com/golang/lint/golint
  • github.com/mdempsky/maligned
  • github.com/mdempsky/unconvert
  • honnef.co/go/tools/cmd/unused

Changelog

2018-07-01 This package is no longer maintained. Please see the v2 version at

https://github.com/cznic/cc/tree/master/v2