The language-c package

[Tags: bsd3, library]

Language C is a haskell library for the analysis and generation of C code. It features a complete, well tested parser and pretty printer for all of C99 and a large set of GNU extensions.


[Skip to ReadMe]

Properties

Versions0.3.0, 0.3.1, 0.3.1.1, 0.3.2, 0.3.2.1, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7
Change logChangeLog
Dependenciesarray, base (<5), bytestring (>=0.9.0), containers, directory, filepath, pretty, process, syb [details]
LicenseBSD3
CopyrightLICENSE
AuthorAUTHORS
Maintainerbenedikt.huber@gmail.com
Stabilityexperimental
CategoryLanguage
Home pagehttp://www.sivity.net/projects/language.c/
Bug trackerhttp://www.sivity.net/projects/language.c/
Source repositoryhead: darcs get http://code.haskell.org/language-c
UploadedWed Aug 17 15:18:39 UTC 2011 by BenediktHuber
DistributionsDebian:0.4.7, Fedora:0.4.7, FreeBSD:0.4.5, LTSHaskell:0.4.7, NixOS:0.4.7, Stackage:0.4.7
Downloads14427 total (392 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefault
splitbaseChoose the new smaller, split-up base package.Enabled
usebytestringsUse ByteString as InputStream datatypeEnabled
separatesybData.Generics available in separate package.Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for language-c-0.4.1

= Language.C =

Language.C is a parser and pretty-printer framework for C99 and the extensions of gcc.

See http://www.sivity.net/projects/language.c/

== Build and Install ==

cabal install

-- or --

runhaskell Setup configure FLAGS
runhaskell Setup build
runhaskell Setup install

Provide the set of flags passing
 --flags="<flags-seperated-by-space>"
to configure.

== Compatibility ==

Tested with ghc-6.12 (Ubuntu), ghc-7.0 (OSX 10.5, Linux) and ghc-7.2 (Linux).
It is recommended to use the most recent platform release: http://hackage.haskell.org/platform/.

== Sources ==

see src/README

== Examples ==

A couple of small examples are available in /examples

== Testing ==

A couple of regression tests can be run via
> cd test/harness; make

For more tests, see test/README.