[M3devel] C-like syntax for Modula-3 [was Re: "target specific pragmas"?]
Henning Thielemann
lemming at henning-thielemann.de
Thu Feb 21 13:22:50 CET 2008
On Tue, 19 Feb 2008, Darko wrote:
> I agree that there should be a pre-processor between M3 syntax and C
> syntax, but this should also be integrated into the build system so
> that it is transparent. I think the '.mc' extension is already taken
> though, which is a bummer.
>
> I think we should also be aiming to use this tool to automatically
> convert C header files (with limitations) to M3.
You won't be happy with such conversions. The results of translations with
SWIG using manual annotations are better, but you quickly run into writing
more annotation than converting the C header manually.
More information about the M3devel
mailing list