Context Navigation

Language.C - A C99 library for haskell

The Language.C project aims to be a stable and compliant C99 language processing library for ​haskell.

As for now, it features a complete, reasonably well tested parser and pretty printer for all of C99 and a large set of GNU extensions (C language support).

Eventually, we also want to provide a complete analysis framework for C.

Bug Tracker / Wiki / Mailing List

This trac site hosts both the Wiki and the Bug Tracker for language.c.
In order to edit wiki sites and create or modify tickets, you need to login.
Either -register- (disabled due to spam), or use 'guest' as a user name and 'g0st+2010' as password.

Download

Documentation

Press

​In this blog post keigoi shows how to move declarations to the top of statement blocks using Language.C and Data.Generics (japanese). The ​follow up shows how to convert C99 flexible array members to arrays of size 0.