language-c: Analysis and generation of C code

[ bsd3, language, library ] [ Propose Tags ]
Versions 0.3.0, 0.3.1,, 0.3.2,, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.5.0, 0.6, 0.6.1, 0.7.0, 0.7.1, 0.7.2
Change log ChangeLog
Dependencies array, base (<4.8), bytestring (>=0.9.0), containers, directory, filepath, pretty, process, syb [details]
License BSD-3-Clause
Copyright LICENSE
Revised Revision 1 made by phadej at Sat Nov 14 10:06:27 UTC 2015
Category Language
Home page
Bug tracker
Source repo head: darcs get
Uploaded by BenediktHuber at Mon Apr 14 05:16:51 UTC 2014
Distributions Arch:0.7.2, Debian:0.4.7, Fedora:0.7.1, FreeBSD:0.4.7, LTSHaskell:0.7.2, NixOS:0.7.2, Stackage:0.7.2, openSUSE:0.7.2
Downloads 26062 total (249 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

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]





Choose the new smaller, split-up base package.


Use ByteString as InputStream datatype


Data.Generics available in separate package.


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


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for language-c-0.4.5

[back to package description]
= Language.C =

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


== Build and Install ==

cabal install

-- or --

runhaskell Setup.hs configure FLAGS
runhaskell Setup.hs build
runhaskell Setup.hs install

Provide the set of flags passing
to configure.

== Compatibility ==

Tested with ghc-7.2 (Ubuntu) and ghc-7.4 (Ubuntu).
It is recommended to use the most recent platform release:

== 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.