Documentation ¶
Overview ¶
Package ccgo translates cc ASTs to Go source code. (Work In Progress)
Changelog ¶
2018-07-01 This package is no longer maintained. Please see the v2 version at
https://github.com/cznic/ccgo/v2
2018-04-10: This code no longer passes tests and soon it will not even build due to the upcoming changes in cznic/crt. For that reason the current crt master branch package is now included in this repository for the improbable case someone wants to make the code work again.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Testing amends things for tests. Testing bool )
Functions ¶
Types ¶
type Option ¶
type Option func(*options) error
Option is a configuration/setup function that can be passed to the New function.
func LibcTypes ¶
func LibcTypes() Option
LibcTypes makes code refering to libc types import them from the CRT package.
Directories ¶
Path | Synopsis |
---|---|
Package crt provides C-runtime services.
|
Package crt provides C-runtime services. |
Package ccgo translates C99 ASTs to Go source code.
|
Package ccgo translates C99 ASTs to Go source code. |
ccgo
Command ccgo is a C compiler targeting Go.
|
Command ccgo is a C compiler targeting Go. |
internal/object
Package object reads and writes object files.
|
Package object reads and writes object files. |
Click to show internal directories.
Click to hide internal directories.