[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tales of mc
From: |
Gaius Mulley |
Subject: |
Re: Tales of mc |
Date: |
Mon, 12 Sep 2022 10:25:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
john o goyo <jog37@riddermarkfarm.ca> writes:
> Greetings, Gaius.
>
> Thank you for the information below. (I actually tee'd the build
> output to see the build commands.)
>
> I am able to translate and build simple modules using the empty
> m2/gm2-libs-min/SYSTEM.mod. Trying to compile the SYSTEM in
> m2/gm2-libs-min/SYSTEM.mod led me to a question. I know that mc is a
> boot-strapping tool that does not translate all of Modula-2. How much
> does it understand?
Hello John,
it translates ISO/PIM4:
including type COMPLEX, exceptions.
excluding local modules, long sets
I'm working on adding dynamic module initialisation for mc - a partial
implementation has been pushed - but it is still incomplete.
> For example, gcc/m2/mc/README states that local modules and (most)
> aggregates are unsupported. However, I found that SHIFT() is not
> known to it.
it should be reasonably straightforward to implement SHIFT/ROTATE within
'mc' for long/small sets. Once dynamic linking is working I'll move
onto full set translation,
regards,
Gaius
- Tales of mc, john o goyo, 2022/09/02
- Message not available