[Info-vax] Native compilers

John Reagan xyzzy1959 at gmail.com
Tue Feb 22 10:24:20 EST 2022


On Tuesday, February 22, 2022 at 6:41:30 AM UTC-5, Johnny Billquist wrote:
> On 2022-02-22 06:27, John Reagan wrote: 
> > On Monday, February 21, 2022 at 9:52:36 PM UTC-5, Craig A. Berry wrote: 
> >> Cool. Now we just need MACRO-32 added as one of the source languages here: 
> >> 
> >> https://godbolt.org 
> > I'm a Patreon of Matt's. He runs all of his systems on AWS. However, I doubt he'll want to spin up an OpenVMS x86 system when available. 
> > 
> > And hosting Macro-32 on a Linux system comes with its own unique nightmare. MLB files. Macro has no real include file system. You get plus-list on the DCL command and macro expansions with MLB files. Both would be a challenge with a Linux-hosted compiler.
> Uh? What? Either I am confused, or you are. 
> .INCLUDE /whatever/ 
> should work just fine. It's not that Macro-32 don't have an include file 
> system. It's just that it's not the only thing it has. It *also* have 
> libraries, which is something Unix compilers usually lack when we talk 
> about source side. 
> 
> Or at least this is what I *know* is true in Macro-11, and while it's 
> been quite a while since I played with Macro-32, I'm fairly certain it's 
> the same there. 
> 
> The ability to have libraries also for source code like macros, is 
> really nice. But yes, it would be a headache to deal with on systems 
> that don't currently have it, because you'll have to implement it in 
> your compiler. But hey, Macro-32 as a compiler is already your own code, 
> so having the capability to deal with libraries shouldn't be that hard. 
> But then you also want a tool to be able to manipulate these 
> libraries... More work... 
> 
> Johnny
The Macro compiler uses GEM for all of its I/O (just like all the other compilers).
For macros, we call the callable librarian to find the macro and return the records.
Anyone with a sizable Macro-32 application must be using LIBR/MACRO and adding
"lib.MLB/LIBRARY" on the command line as plus-list.  Having a Linux-hosted Macro-32
has more issues than Linux-hosted BLISS (which existed in the past).

As for something on godbolt.org could use, none of that would be required for a quick
10 line example.



More information about the Info-vax mailing list