PlusScript


Description:

PlusScript is a scripting language developed for games and other applications with focus on speed. It is not interpreted like many other scripting languages but compiled to native bytecode using a just-in-time compiler, therefore being several times faster than 'normal' scripting languages. It uses weak typing, current variable types are int, pointers and float combined with structs and arrays.
It is designed to be simple to use, it has interfaces for both C and C++ and can import C functions and structs, a binding generator for C++ and C header files is planned.

It currently works on x86 (Windows, Linux, FreeBSD, probably others) and amd64 (Linux, probably other Unix-like systems).
Example:
Bubblesort:


int data[20000];

function runtest() : int
	int i;
	int i2;
	int tmp;
	for i = 0 to 19999 do
		data[i] = 100000 - i;
	end
	
	for i = 0 to 19999 do
		for i2 = 0 to 19999 do
			if data[i2] < data[i2 + 1] then
				tmp = data[i2];
				data[i2] = data[i2 + 1];
				data[i2 + 1] = tmp;
			end
		end
	end
	
	return 1;
end

Download:

SVN:
https://plusscript.svn.sourceforge.net/svnroot/plusscript/trunk
WebSVN:
http://plusscript.svn.sourceforge.net/viewvc/plusscript/
Contact:
Mathias Gottschlag
mathias-go@web.de

SourceForge.net Logo