Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ENTERPRISE C

Name: Anonymous 2009-05-02 2:30

Hello /prog/riders

I love the C Programming Language, but with languages like JAVA and VISUAL BASIC.NET, I'm afraid C will never become a mainstay of the ENTERPRISE MARKETPLACE.

I've decided to write my own library that might make C more ENTERPRISE READY!!!, but I'm not sure if C has any chance.

What do you think /prog/?

Here is my proof of concept (I'm compiling without warning on the gcc):

Name: Anonymous 2009-05-02 2:32

enterctest.c

#include <stdlib.h>
#include <stdio.h>
#include "enterc.h"

FUNCTION_BEGIN
    FUNCTION_RETURN_BEGIN
        INTEGER
    FUNCTION_RETURN_END
    FUNCTION_NAME_BEGIN
        PROGRAM_ENTRY_POINT
    FUNCTION_NAME_END
    FUNCTION_PARAMETERS_BEGIN
            INTEGER argc
        NEXT_PARAMETER
            CHARACTER POINTER argv ARRAY
    FUNCTION_PARAMETERS_END
    FUNCTION_BLOCK_BEGIN

        BEGIN_INSTRUCTION
            STRING str GETS STRING_CONSTANT(Hello world!\n)
        END_INSTRUCTION

        BEGIN_INSTRUCTION
            CALL PRINTING_FUNCTION
                FUNCTION_PARAMETERS_BEGIN
                        STRING_CONSTANT(%s)
                    NEXT_PARAMETER
                        str
                FUNCTION_PARAMETERS_END
        END_INSTRUCTION

        BEGIN_INSTRUCTION
            RETURN_FROM_FUNCTION EXIT_SUCCESS
        END_INSTRUCTION

    FUNCTION_BLOCK_END
FUNCTION_END

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List