[Info-vax] Compiler Explorer (Re: Native compilers)
Craig A. Berry
craigberry at nospam.mac.com
Tue Feb 22 18:45:39 EST 2022
On 2/21/22 11:27 PM, 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 Patron 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.
It doesn't have to be him -- the code is open source and anyone can run
their own:
https://github.com/compiler-explorer/compiler-explorer
I was sort of kidding, but having one for the DEC compilers is not
/that/ crazy a thought, although apparently it requires Node, so one
would either need to port the V8 Javascript engine and Node to VMS or
suss out the details of how a remote server receives a program to
compile, compiles it, and sends the results back. The latter is
probably equivalent to what the VMS IDE in VSCode is doing. Basically
it would involve implementing the REST API documented here:
<https://github.com/compiler-explorer/compiler-explorer/blob/main/docs/API.md>
> 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.
That sounds painful. More painful than porting Node ;-).
None of this is meant as yet another "VSI must do this to save the
world," etc. Just something I stumbled on that looked interesting.
Plus, if it were so easy to try out test programs in any and every
language, the newsgroup would die off because people would no longer
have an excuse to pile hate on languages they don't know anything about :-).
More information about the Info-vax
mailing list