[Info-vax] OO version of Macro-32, was: Re: CRTL and RMS vs SSIO
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Thu Oct 14 19:24:15 EDT 2021
In article <Yk2aJ.206815$Kv2.105764 at fx47.iad>, Lee Gleason <lee.gleason at comcast.net> writes:
>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)
How does a directive see and active value in R0 and oring it with 0 does
nothing.
>> {
>> [Normal Macro-32 code]
>> }
>>
>> or:
>>
>> .if(R0 & 1)
Again, how does a directive ...
>> {
>> [Normal Macro-32 code]
>> }
>> .else
>> {
>> [Normal Macro-32 code]
>> }
>>
>> or:
>>
>> .for(R0 = 0; R0 < R1; R0++)
That's just FN fugly.
>> {
>> [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....
Leave Macro alone!
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
I speak to machines with the voice of humanity.
More information about the Info-vax
mailing list