BlitzScript3D

Blitz3D Forums/Blitz3D Programming/BlitzScript3D



BlitzScript3D is a Scripting System with a BASIC Syntax for use in Blitz3D made games. Based on Mark Sibly's Blitz Compiler Code, the Scripting System Lib will contain a Compiler and Virtual Machine. Checkout the Online BlitzScript3D Help Manual.

The Scripting System Compiler will open and parse *.bsc files, generate opCode that resembles x86 assembler instructions, and convert opCode into smaller Pcode (opCode represented by a integer value), saving the Pcode files with *.bso extension. Pcode files are loaded and executed by a Virtual Machine. The Virtual Machine simulates a cpu processing the Pcode files.

The Scripting Language Supports:
1. Keywords: let, print, end, if, then, else
2. Blitz3D Commands
3. Operators: binary +, -, *, /, <, =, >, <=, <>, >= and unary -
4. Precedence : *, /, >>,<< have precedence over +, -, which have precendence over <,=,>,<=,<>,>=
5. Subexpressions grouped by Parenthesis .
6. Comments
7. Preprocessing (New)

To Be Implemented:
1. Multi-Dimensional Arrays (wip)
2. Functions
3. Conditional Loops
4. Select...Case