@hackage language-c0.4.2
Analysis and generation of C code
Installation
Dependencies (9)
- array
- base <4
- bytestring >=0.9.0
- containers
- directory
- filepath Show all…
Dependents (22)
@hackage/afv, @hackage/cil, @hackage/c-dsl, @hackage/c2hs, @hackage/acme-everything, @hackage/clua, Show all…
Package Flags
splitbase
(on by default)
Choose the new smaller, split-up base package.
usebytestrings
(on by default)
Use ByteString as InputStream datatype
separatesyb
(on by default)
Data.Generics available in separate package.
= 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="
== 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.