[m-rev.] for review: implement C version of mmc

Julien Fischer juliensf at cs.mu.OZ.AU
Sun Oct 2 22:08:04 AEST 2005


On Sun, 2 Oct 2005, Peter Moulder wrote:

> I can't find any Mercury coding standards for C code (other than a
> couple of notes in compiler/notes/coding_standards.html), but I suggest
> prepending `not ' into those else/endif comments, as per Gnu coding
> standards.  This makes it clearer to the reader what the condition of
> the #else code is.  (Use of english `not' rather than `!' makes it
> fairly clear that the #if condition is `@...' rather than `! @...'.)
>

The C coding standards for the Mercury project are here:
<http://www.cs.mu.oz.au/research/mercury/information/developers/c_coding_standard.html>

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list