language-c: Analysis and generation of C code

[ bsd3, language, library ] [ Propose Tags ]

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]


Automatic Flags

Choose the new smaller, split-up base package.


Use ByteString as InputStream datatype


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


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 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, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.9,,, 0.9.1, 0.9.2, 0.9.3
Change log ChangeLog
Dependencies array, base (<4), bytestring (>=0.9.0), containers, directory, filepath, pretty, process [details]
License BSD-3-Clause
Copyright LICENSE
Category Language
Home page
Bug tracker
Uploaded by BenediktHuber at 2009-01-26T10:15:03Z
Distributions Arch:0.9.3, Debian:, Fedora:0.9.2, FreeBSD:0.4.7, LTSHaskell:0.9.3, NixOS:0.9.3, Stackage:0.9.3, openSUSE:0.9.3
Reverse Dependencies 11 direct, 55 indirect [details]
Downloads 60448 total (270 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for language-c-

[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 configure FLAGS
runhaskell Setup build
runhaskell Setup install

Provide the set of flags passing
to configure.

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