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. (Here I publish random cleanup patches to the Hackage branch, which might be controversial. They helped a newby like me to read and understand the code.) (fork of imz's language-c_fixes)  (https://hackage.haskell.org/package/language-c)

root / MAINTENANCE

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainance Release Procedure

# bump version and update dependencies if necessary
emacs language-c.cabal
darcs record

# apply patches
darcs am *.patch

# add minimal test for new functionality
# (edit test/harness)

# haskell updates
# (update GHC to stable release)
cabal update
cabal install -p --upgrade-dependencies

# regression test
DEFAULT_BROWSER=firefox bash scripts/regression_test

# upload to code.haskell.org
darcs push

# upload to hub.darcs.net and github (using patches)

# upload to hackage (using website)