gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] gm2-5.2.0 status update


From: Gaius Mulley
Subject: [Gm2] gm2-5.2.0 status update
Date: Fri, 27 May 2016 09:51:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi,

I've been git committing quite a few changes and new code for 'mc' the
Modula-2 to C11 replacement for p2c.  Now all that remains to be
implemented is the final pass for 'mc' (pass 5) which creates the
statements/expressions - this is hopefully a very easy pass to write.
Currently the first 4 passes are implemented (modulo bugs) and it will
topologically sort and output all data structures and constants in C11.
mc uses gm2 ebnf and the flex lexical analysis.  mc does not require
any forward declarations and so this should mean the gm2 source becomes
cleaner.

It also has a number of options - one of which is --extended-opaque
which will parse the implementation module to generate a full
description of the abstract data type.  Which should be extremely useful
during development as it allows gdb to see the full type.  Interestingly
in writing mc it has prompted many ideas for a gm2 cleanup - much code
will be migrate back into gm2 at a later date.

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]