• Advertisement
CScript code generator
    4. CScript code generator

Other images in CScript

CScript code generator

Sign in to follow this  
CScript code generator

CScript is a code generator. Technically, its a stand alone macro processor. The purpose of CScript is to reduce the amount of typing reqired to create code. It implements a "scripting language" which is designed to reduce the number of keystrokes to enter code.

An example:

in CScript:

[b]4 a 10[/b]

is 6 keystrokes, and translates to:

[b]for (a=0; a<10; a++) [/b]

which is 23 keystrokes.

CScript consists of the CScript scripting langauge, and the macro processor program that converts CScript code to C++ code.

A CScript source code file can freely mix C, C++, and CScript code. CScript expands CScript code into C++, while simply passing other types of code through unaltered.

CScript was originally developed in the mid 90's. The original implementation provided short hand syntax for all C and C++ keywords, and could freely mix CScript, C++, C, inline assembly, and inline machine code. The current implementation - rebuilt from the ground up, complete with new syntax (i couldn't find source code or even a list of the original CScript keywords) - implements the C/C++ keywords and functionality most commonly used in game coding.


© CScript code genrator (C) 1996-2013 Rockland Software Productions
Sign in to follow this  
From the album


  • 1 image
  • 0 image comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement