[Info-vax] Ada on VMS, was: Re: Free Pascal for VMS ?

Simon Clubley clubley at remove_me.eisner.decus.org-Earth.UFP
Sun May 13 20:29:13 EDT 2018


On 2018-05-12, seasoned_geek <roland at logikalsolutions.com> wrote:
>
> There is a large pile of ADA on VMS still in production and there is no
> way off. While I don't do ADA, I know that most systems developed in ADA
> __had__ to be developed in ADA. There was something unique ADA brought
> which didn't exist elsewhere which is why a GNU type approach of
> translating all languages to GNU internal language and compiling that won't
> work.

And what exactly do you think GNAT is ?

Your comment above strongly implies that you simply don't have
a clue about how compilers are designed.

Translating to an IR is the standard way of doing things and is not
something that is GNU specific. The concept is a very clean way
to decouple the front ends from the back ends within a compiler.

The IR architecture for a compiler determines what functionality
is available within the compiler. If a new front end needs something
that the other front ends do not, then you extend the IR architecture
to support the new front end.

In fact the LLVM IR has had issues in the past with the nested
functions you find in the Wirth style languages. I don't know if
this is a solved problem (I thought it was) or if John is going
to hit this when he ports Pascal.

I know we have talked about nested functions in LLVM in the past
but a quick Google search couldn't find the discussion.

Simon.

-- 
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world



More information about the Info-vax mailing list