• some updates for C-Compiler and the NHI1 project coming soon

    From aotto1968@21:1/5 to All on Thu May 4 11:23:03 2023
    the-new-C

    Well, C is the most famous programming language in the world and the basis for almost everything in the computing world. The
    strategic goal in metaprogramming is to use the existing C programming language and add new language elements that are used for
    integration.

    The new "C" has:

    static typing
    All types are checked at compile time by default (like C)

    object support
    A class type is available and, like C, is also a static type, but can be checked at runtime if necessary (upgrade cast).

    basic object class
    Unlike C++ there is a root class MkObjectC and thus there is no need for a "template mechanism" like in C++

    clear names
    All functions and names (including class, method and attribute) are unique and are therefore easily locatable via the TAG file.

    code generation
    To add a new function in C additional code is required (e.g. class). However, the required code is NOT written by the programmer
    or the compiler (C++), but inserted DIRECTLY into the source code (.c or .h) by the meta code generator, where the code ends up
    in release management where it is then safe and is verifiable.

    safe pointer
    like C, memory must be allocated and deallocated, but unlike C and C++, a pointer can be checked for validity or invalidity


    mfg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)