From: Yannick Duchêne (Hibou57) on
Le Tue, 25 May 2010 21:50:36 +0200, John B. Matthews
<nospam(a)nospam.invalid> a écrit:
> Early versions of Windows [1] may have been influenced by an
> association with Apple's original Macintosh OS, which specified Pascal
> calling conventions
Yes, the “push right ot left” is only for Windows 32 bits. Windows 16 bits
as using the pure Pascal calling convention, that is, the “push left to
right”. However, in both case, the invoked procedure clean the stack.

Thanks to have noticed about an influence from Mac. I believe this is
possible, indeed.

--
There is even better than a pragma Assert: a SPARK --# check.
From: Yannick Duchêne (Hibou57) on
Le Tue, 25 May 2010 21:50:36 +0200, John B. Matthews
<nospam(a)nospam.invalid> a écrit:
> [2]<http://www.mactech.com/articles/mactech/Vol.05/05.03/ToolboxfromAda/index.html>
Waw, “Calling the Mac ToolBox from Ada”. thanks again for this one. I will
later attempt to build a cross compiler Windows -> Mac, and I guess this
document gonna be useful to me to try to create Mac applications from
Windows (unfortunately, I do not have a Mac to test :( will have to bother
somebodies and ask them to test)


--
There is even better than a pragma Assert: a SPARK --# check.
From: Ludovic Brenta on
Yannick Duchêne writes on comp.lang.ada:
> and the Pascal usenet group is closed. So... not sure.

That's because it has been superseded by:

comp.lang.pascal.ansi-iso
comp.lang.pascal.borland
comp.lang.pascal.delphi.advocacy
comp.lang.pascal.delphi.announce
comp.lang.pascal.delphi.components.misc
comp.lang.pascal.delphi.components.usage
comp.lang.pascal.delphi.components.writing
comp.lang.pascal.delphi.databases
comp.lang.pascal.delphi.misc
comp.lang.pascal.mac
comp.lang.pascal.misc

and more.

--
Ludovic Brenta.
From: Stephen Leake on
Duke Normandin <dukeofperl(a)ml1.net> writes:

> do you know what language Ada is written in? I'd guess
> C and asm.

"Ada" refers to a standard language definition. It is written in
English (there may be translations to other languages available).

Various Ada compilers are written in various languages. The GNAT
compiler front end is written in Ada; the back end is gcc, written in C;
the runtime is written in Ada, with a little bit of assembler for
specific machines.

--
-- Stephe
From: Stephen Leake on
"J-P. Rosen" <rosen(a)adalog.fr> writes:

> Georg Bauhaus a écrit :
>> Yes. Ada/Ed, though, being an Ada 83 interpreter, being
>> written in SETL, not C, and being prototypical for GNAT,
>> indicates that C is not necessarily the single language for
>> writing high class compilers---as some have implied.
>> I'm sure you know that is the case for some other languages,
>> too.
> In most programming languages, there is a relation between the structure
> of the language itself and the kind of data it handles best.

This is certainly true.

> For this reason, and others like ease of porting, it is generally a
> good idea to write the compiler in its own language, safe for special
> cases like initial bootstrapping.

That does not follow. If I have a language designed for manipulating
databases, that means is is _not_ a good language for implementing a
compiler.

--
-- Stephe