[Info-vax] OO version of Macro-32, was: Re: CRTL and RMS vs SSIO
Lee Gleason
lee.gleason at comcast.net
Thu Oct 14 18:39:52 EDT 2021
On 10/14/2021 1:49 PM, Simon Clubley wrote:
> On 2021-10-13, Stephen Hoffman <seaohveh at hoffmanlabs.invalid> wrote:
>>
>> Not that I'd expect to ever meet Macroo32. ?
>>
>
> :-)
>
> What would an object orientated version of Macro-32 even look like ? :-)
>
> Anyone want to have a guess at possible syntax options ? :-)
>
> BTW, you could always add some structured language constructs to
> the Macro-32 compiler that could get translated into normal
> Macro-32 code before compiling it:
>
> .while(R0 != 0)
> {
> [Normal Macro-32 code]
> }
>
> or:
>
> .if(R0 & 1)
> {
> [Normal Macro-32 code]
> }
> .else
> {
> [Normal Macro-32 code]
> }
>
> or:
>
> .for(R0 = 0; R0 < R1; R0++)
> {
> [Normal Macro-32 code]
> }
>
> :-)
>
> Simon.
>
This would be an abomination.
Way way way back in the day, this sort of thing gained some
popularity in the PDP11 MACRO-11 world. It was implemented by a set of
macros called SMACIT, that enabled this sort of thing. I didn't like it
then either....
--
Lee K. Gleason N5ZMR
Control-G Consultants
lee.gleason at comcast.net
More information about the Info-vax
mailing list