Re: development of C++ compiler



Grizlyk wrote:

There are C++ compilers, that has been written in old good C. Are C or
pascal perfect languages that can be used to build any powerful OO
language with mutable source representation, as C++ could be?
Obviously no.

Not obviously no. The only reason so many languages use C for their implementation is C has a stable standard that enforces a very high level of portability. So you can write a fully-compliant C compiler for anything, from a wristwatch to a Mars Rover. This implies that a language written in C is therefor well-defined, too.

Is current C++ can be used to build the OO language? Obviously no,
because unfortunatelly C++ simultaneously is not-trivial for
implementation in C or pascal, but quite limited for users.

Not obviously, because C++ has both a stable standard and a well-defined system to extrude C as its compiling layer. The only edge C has is it's older, so it has more cross-compiler support to all those platforms.

Some questions:

I have got a hint, that we can select "core of C++" (that does not
mean the core must be completely compatible with current C++ or its
subset) and use the not-mutable core language to build all concrete-
hardware "complete C++" compilers. The "complete C++" language can be
the powerful OO language with mutable source representation,
structured by dialects.

OO is already a port into C++. It's not the OO features that make C++ less widely useful than C. In fact the opposite is the case. C++ cripples its OO abilities to preserve backwards compatibility with C.

The core language properties must be:
- compiler of the core must be able to be easy implemented by C-like
language

Why "C-like"?

- the core must be very conservative (to resists all possible
improvements)

What's wrong with improvements?

Your remaining checklist indicates C, in its current role as "portable, well-defined, assembler"...

--
Phlip
.



Relevant Pages

  • Re: COBOL delegates and .NET Action
    ... Some computer languages are like our native spoken language - we can ... person has one brain the computer had one core. ... Layers allow selection and isolation of objects from and to ... I've been talking about this to a team of COBOL people on a site which is ...
    (comp.lang.cobol)
  • Re: Is there any hope for Microsoft ?
    ... Do not confuse the crap with the language. ... the core problem was that the "keeper of the keys" for MS Basic did ... I started in VB 1 for DOS, and its always been tinkered with. ... documented method for handling binary data was with strings. ...
    (borland.public.delphi.non-technical)
  • Re: ANN: Auto expansion of leading word
    ... Here you seem to make assumptions that only the designer of that system ... as a patch in to the core, if I am not misreading the intention of the ... this would lead to and if that's a useful language. ... also requires you to take care when typing something like [$matrix bla ...
    (comp.lang.tcl)
  • [OT] Re: Advice on Programming Language
    ... None require any Windows support and no ... user interface, another for 'core' code that perhaps has ... nor is it indicative of a predjudice against this language. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Gene Theory - C core commands
    ... > of the language is written as include files that are simply extra ... > functions consisting of a core set of instructions. ... second part, er, you haven't been programming very long, have you? ... genetics guy thinks programming is simple. ...
    (comp.lang.cpp)