[Info-vax] OO version of Macro-32, was: Re: CRTL and RMS vs SSIO
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Fri Oct 15 13:27:56 EDT 2021
On 2021-10-14, VAXman- @SendSpamHere.ORG <VAXman- at SendSpamHere.ORG> wrote:
> 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.
>
'!=' is the not equals operator from C, not the OR operator.
If anyone actually wanted to do this, the directive would be expanded
to actual Macro-32 code before being compiled. Microsoft did something
similar in MASM about 30 years ago.
>>>
>>> or:
>>>
>>> .for(R0 = 0; R0 < R1; R0++)
>
> That's just FN fugly.
>
Suspected that would be your response. :-)
>>
>> 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!
>
:-)
On a more serious note, I think the time for enhancing assemblers
with stuff like this has long since passed.
Blame Stephen for putting the idea of OO Macro-32 into my head. :-)
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
More information about the Info-vax
mailing list