[Info-vax] Native compilers
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Mon Feb 21 16:35:41 EST 2022
In article <sv0ove$66b$2 at dont-email.me>, Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2022-02-19, VAXman- @SendSpamHere.ORG <VAXman- at SendSpamHere.ORG> wrote:
>> In article <226d2c3c-996d-45f5-8c01-9fa650ae016dn at googlegroups.com>, John Reagan <xyzzy1959 at gmail.com> writes:
>>>With all the various threads talking about compilers and such, here's a "demo" (compilers are hard to demo) of a the native Macro compiler.
>>>
>>>$ type hw.mar
>>>..TITLE hello
>>>..PSECT RDATA,NOWRT,SHR,NOPIC,NOEXE,RD,QUAD
>>>HI: .ASCID /Hello, World!/
>>>..PSECT CODE,NOWRT,SHR,PIC,EXE,RD,QUAD
>>>START:: .CALL_ENTRY PRESERVE=<>,MAX_ARGS=0,HOME_ARGS=TRUE
>>>PUSHAQ HI
>>>CALLS #1,G^LIB$PUT_OUTPUT
>>>BLBC R0,10$
>>>MOVL #SS$_NORMAL,R0
>>>10$: RET
>>>..END START
>>>$
>>>$ show system /noproc
>>>OpenVMS XG5P-H4S on node X86VMS 19-FEB-2022 13:09:56.72 Uptime 2 03:28:17
>>>$ write sys$output f$getsyi("arch_name")
>>>x86_64
>>>$ macro hw
>>>$ link hw
>>>$ run hw
>>>Hello, World!
>>
>> Macro is native! That's all I need!
>>
>
>$ set response/mode=good_natured_troll
>
>Well, there's always that someone who needs to work with obsolete
>languages... :-)
Post hoc ergo propter hoc Romney Wordsworth!
It's not obsolete. I don't write *applications* or fiddle with stuff access
via the WWW.
--
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