The language-c package

[ Tags: 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]

Properties

Versions 0.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, 0.5.0, 0.6, 0.6.1, 0.7.0
Change log ChangeLog
Dependencies array, base (<5), bytestring (>=0.9.0), containers, directory, filepath, pretty, process, syb [details]
License BSD3
Copyright LICENSE
Author AUTHORS
Maintainer benedikt.huber@gmail.com
Category Language
Home page http://www.sivity.net/projects/language.c/
Bug tracker http://www.sivity.net/projects/language.c/
Uploaded Wed Jul 21 13:52:31 UTC 2010 by BenediktHuber
Distributions Arch:0.6.1, Debian:0.4.7, Fedora:0.5.0, FreeBSD:0.4.7, LTSHaskell:0.6.1, NixOS:0.7.0, Stackage:0.6.1, Tumbleweed:0.5.0
Downloads 21350 total (1206 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
splitbase

Choose the new smaller, split-up base package.

EnabledAutomatic
usebytestrings

Use ByteString as InputStream datatype

EnabledAutomatic
separatesyb

Data.Generics available in separate package.

EnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for language-c-0.3.2

[back to package description]
= 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.

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