Pixilags concept was developed in 2006 by Alexandre Zolotov and Michael Razouvaev. It is based on the following principles:
The current version of the language interpreter works in operation system Microsoft Windows, GNU/Linux and PalmOS. It is distributed under licence of the GNU General Public License
Pixilang an interpreter. User chooses the interpreting program through the graphic dialog at start. If in the folder with interpreter there is a boot.txt file, it is being chosen automatically. Bite-code is being generated before the run. The basis of the pixilang a pixi-container. It could contain a picture, a text-line, an integer array and a pointer to another pixi-container with alpha-channel. That means, that any data set could be stored in pixi-container, you can address to this data set, as to an array. Then a simple number number of pixi container will be meant by the terms picture, text line, numeric amount. Example:
// readout of the second pixel value at the picture image: pixel_value = image[ 2 ] What to do at first? Program example Open your favorite text editor and create a new file with following content: //Simple animated example // Log colour #003050 in variable o o = #003050 //Describe animated image (pixi), logo = " .o...ooo...o. ..o..o.o..o.. ...ooooooo... ...ooooooo... .ooooooooooo. .o.ooooooo.o. oo.........oo + .o...ooo...o. ..o..o.o..o.. ...ooo.ooo... ...ooooooo... .ooooooooooo. .o.ooooooo.o. oo.........oo " //make language transform this image from text form in graphic: make_pixi( logo ) // enlargement factor will be stored in this variable: zm = 20 // mark: start: //set transperancy 64: transp( 64 ) //erase screen with white colour. Lightly erasing, because transparency 64 is set clear( #FFFFFF ) //set transparency 256 (non-transparent): transp( 256 ) //draw our image logo on coordinates 0,0 with enlargement zm: pixi( logo, 0, 0, zm ) //reduce enlargement on one: zm - 1 //take out the result on screen and wait 100 msecs: frame( 100 ) //pass to mark start: go start
Then launch Pixilang interpreter and point file, you have created.
Efficiency of Pixilang depends on specific character of executable program. If the most part of program consists of graphic commands, execution speed will be brought nearer to the execution speed of binary code, compiled with help of C/C++.