New Programming Language Being Developed!!
- Posted by Mike The Spike <mtsreborn at yahoo.com> Jan 30, 2001
- 559 views
I might have mentioned the 'C RAP' programming language. C RAP is a new language being developed by Bill 'PlayDude' Dyons and myself. Bill hopes to release a C RAP To ANSI C Translator within the next few days on a C RAP devoted web page on the internet (Probably http://surf.to/craplang). C RAP is actually spelled 'C'RAP. Wich, in Dutch, stands for 'C' FAST. But the acronymn, wich I came up with (offcourse..), stands for Computer Rapid Production Language. Why should you be excited about Bill and my project? Because... - C RAP stands for C FAST. In that it easily outperforms C in some tasks and is fast to code in. - C RAP is portable. C RAP programs can be translated to ANSI C and compiled for any plaftorm with a C compiler. Even GBDK, the LCC port for Gameboy supports C RAP. - C RAP is safe. C RAP offers threaded garbage collection, dynamic arrays, automatic memory allocation, subscript, type and overflow checking, and many other runtime checks. - C RAP is easier to learn than BASIC. It has a syntax very similliar to BASIC and ABC, yet with C features embeded. Each line of C RAP code is terminated by a dot, just like in English. - C RAP offers modern portable built-in graphics, sound and database support for any target platform that supports these features. - A C RAP Interpreter is being written in C RAP To ANSI C, and both the Interpreter and Translator are freeware. - C RAP will support dynamic interpretation and C RAP portable DLLs in the future. - C RAP consists of 3 executables only; Interpreter, Translator and Binder, and a few standard library files. Excited? But you wanna see some C RAP code first? Here we go; array shit of integers. set shit to {1000,5,6}. procedure add array b of integers. call printf 1, "%d!", b[1]+b[2]+b[3]. end procedure. call add shit. Let's see what this means; array shit of integers. [Creates an array of ints] set shit to {1000,5,6}. [Sets this array to {1000,5,6}] procedure add array b of integers. [Proc to add array] call printf 1, "%d!", b[1]+b[2]+b[3]. [Printf] end procedure. [Mark end this proc] call add shit. [Call our function] C RAP was designed to be easy to parse and implement. Because of C RAP's ASM-like program flow, the language can be made to be extremely fast. The C RAP interpreter being written in C RAP is to be faster than a JAVA JIT compiler thanks to C RAP's speedy features. All that is slow in C RAP is appending elements to arrays. realloc() is used to guarantee good garbage collection, portability and fast indexing features, instead of linked lists. The following variables are present in C RAP; integer [32 or 64 bit integer value, overflows to 64 bit] float [32 or 64 bit float value, overflows to 64] string [a dynamic array of bytes] object [any of the above] I'll keep you all posted. Don't expect the next C++, though. This is a free language made in two people's spare time. It's supposed to be an alternative language for JAVA and C programmers working at home, creating freeware/shareware web applications, games, demos, database apps, etc. It will not be used to write Quake IV or Windows 2002. Mike The Spike __________________________________________________ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ ____________________________________________________________ T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. http://www.topica.com/partner/tag01