Benedikt Huber | 13 Aug 15:43

ANN: Initial release of Language.C (language-c-0.3)

Hi all,

I'm pleased to announce the first release of Language.C, a library for  
analysing and generating C code.

This release features

    * A reasonably well tested parser handling and recording all of  
C99 and most GNU extensions, most notably gcc's attribute syntax.

    * A pretty printer generating source code from the AST, covering  
the same language subset as the parser.

    * A preview of the analysis framework, including functionality for  
dissecting C's cruel type and variable declarations.

Places:

   * The project's homepage is located at http://www.sivity.net/projects/language.c 
  (Getting Started, Bug Tracker)

   * The package is available via hackage (language-c-0.3)

   * darcs repo: http://code.haskell.org/language-c

   * API docs: http://code.haskell.org/~bhuber/docs/language-c-latest/

The library originated from the C-related code in c2hs
(http://www.cse.unsw.edu.au/~chak/haskell/c2hs/ 
), and is the topic of my SoC project, mentored by Iavor Diatchki.  
(Continue reading)

Don Stewart | 13 Aug 22:02
Gravatar

Re: ANN: Initial release of Language.C (language-c-0.3)

I think the bug tracker/home page is down. Any ideas?

benjovi:
> Hi all,
> 
> I'm pleased to announce the first release of Language.C, a library for  
> analysing and generating C code.
> 
> This release features
> 
>    * A reasonably well tested parser handling and recording all of  
> C99 and most GNU extensions, most notably gcc's attribute syntax.
> 
>    * A pretty printer generating source code from the AST, covering  
> the same language subset as the parser.
> 
>    * A preview of the analysis framework, including functionality for  
> dissecting C's cruel type and variable declarations.
> 
> Places:
> 
>   * The project's homepage is located at 
>   http://www.sivity.net/projects/language.c (Getting Started, Bug Tracker)
> 
>   * The package is available via hackage (language-c-0.3)
> 
>   * darcs repo: http://code.haskell.org/language-c
> 
>   * API docs: http://code.haskell.org/~bhuber/docs/language-c-latest/
> 
(Continue reading)

Benedikt Huber | 14 Aug 17:49

Re: ANN: Initial release of Language.C (language-c-0.3)

Don Stewart schrieb:
> I think the bug tracker/home page is down. Any ideas?
Language.C's project page went down for a few hours yesterday, sorry 
about that. After switching trac to use mod_python it should work faster 
and more reliable now.
Btw, keigoi posted a very nice, small example (Language.C + 
Data.Generics) here: http://d.hatena.ne.jp/syd_syd/20080813#p1
(in japanese).
--
benedikt

> 
> benjovi:
>> Hi all,
>>
>> I'm pleased to announce the first release of Language.C, a library for  
>> analysing and generating C code.
>>
>> This release features
>>
>>    * A reasonably well tested parser handling and recording all of  
>> C99 and most GNU extensions, most notably gcc's attribute syntax.
>>
>>    * A pretty printer generating source code from the AST, covering  
>> the same language subset as the parser.
>>
>>    * A preview of the analysis framework, including functionality for  
>> dissecting C's cruel type and variable declarations.
>>
>> Places:
(Continue reading)

Benedikt Huber | 14 Aug 18:53

Fwd: ANN: Initial release of Language.C

Hello,

I'm forwarding this to cafe, in case some of you are interested in  
this as well but not subscribed to libraries. Again, feedback is most  
welcome.

I've almost finished integrating Language.C with c2hs too (fixing a  
few bugs along the way), so there will be a quite complex example  
available soon.

Thanks for your interest.

Begin forwarded message to libraries <at> haskell.org:
> From: Benedikt Huber <benjovi <at> gmx.net>
> Date: 13. August 2008 15:45:50 GMT+02:00

I'm pleased to announce the first release of Language.C, a library for  
analysing and generating C code.

This release features

   * A reasonably well tested parser handling and recording all of C99  
and most GNU extensions, most notably gcc's attribute syntax.

   * A pretty printer generating source code from the AST, covering  
the same language subset as the parser.

   * A preview of the analysis framework, including functionality for  
dissecting C's cruel type and variable declarations.

(Continue reading)


Gmane