Main Page
From Escript
Line 3: | Line 3: | ||
It has support for all integer and floating point types including native strings. Conversion is automatic for all types including classes that have cast overloads. There are 12 types in E. | It has support for all integer and floating point types including native strings. Conversion is automatic for all types including classes that have cast overloads. There are 12 types in E. | ||
- | <font family="Georgia" color="blue">char<br /> | + | <code><font family="Georgia" color="blue">char<br /> |
short<br /> | short<br /> | ||
int<br /> | int<br /> | ||
Line 14: | Line 14: | ||
class<br /> | class<br /> | ||
function<br /> | function<br /> | ||
- | event</font> | + | event</font></code> |
- Classes are user-defined compound objects like C++.<br /> | - Classes are user-defined compound objects like C++.<br /> | ||
- Functions are user-defined procedures that take and return arguments.<br /> | - Functions are user-defined procedures that take and return arguments.<br /> | ||
- Events are a type of function that does not return any values and may be called in a series of calls to other implementations of the same event. | - Events are a type of function that does not return any values and may be called in a series of calls to other implementations of the same event. |
Revision as of 02:44, 5 November 2006
E is a scripting language designed for games and event driven applications. It utilizes a strict type system for performance in both script execution performance as well as the overhead involved in calling functions between the C++ application and the virtual machine. While a generic C like function binding system is available, one of the main features of the E API is the ease in binding classes and functionality to the virtual machine. It utilizes template meta programming to requires very little explicit information to bind classes and functions to it.
It has support for all integer and floating point types including native strings. Conversion is automatic for all types including classes that have cast overloads. There are 12 types in E.
char
short
int
byte
word
dword
real
real8
string
class
function
event
- Classes are user-defined compound objects like C++.
- Functions are user-defined procedures that take and return arguments.
- Events are a type of function that does not return any values and may be called in a series of calls to other implementations of the same event.