Other languages > GLBasic - de

GLScriptBasic

<< < (19/20) > >>

metzzo:
I just want to say, that i'm  still working on GLBScript. But development is far slower than before. Currently I am porting the 2D engine of GLBasic to HTML5 and fixing tons of bugs.
I am trying, as already mentioned, to bootstrap the compiler to HTML5. The lexer and code analyser is already working properly, but the parser and code generator still crashes. I think in around two months we will have a GLBasic compiler running in every webbrowser!

Fixed bugs:
 - TRIM/LTRIM/RTRIM: Now working properly
 - REPLACE: Empty strings do not crash the script
 - FOREACH: Now working with by ref variables (ALIAS/BYREF)
 - DIMPUSH now working with ALIAS/BYREF
 - Negative indices in arrays (array[-1]) works.
 - Array bound checks are now performed.
 - Some speed improvements.

But there is still a lot of work left...

Marmor:
great coolo !  :good:

erico:

--- Quote from: coolo on 2012-Mar-08 ---... I think in around two months we will have a GLBasic compiler running in every webbrowser!

--- End quote ---

This would be awesome!
Keep up the good work!

metzzo:
hey!

A short status report: Since last firefox update (version 11) the xmlhttprequests I'm using for getting data for OPENFILE doesn't work with local files anymore. Chrome and Safari does not support it anymore too. So I have to rewrite the whole File I/O system. The approach I am now using is simple: Just embed all data into the HTML file. This way it works in every browser. If you have a better idea, i would love to hear!

Further I just want to say, that I am absolutly in time about porting the GLBasic Compiler to the web! Some little problems (except the rewrite of the IO system) but I think I am able to fix them soon!

Changelog since last update:

Fixed: Repeat - Until now works properly
Fixed: Reference parameters (BYREF) are more robust (THAT was long bug hunting...)
Fixed: REDIM/DIMPUSH speed increased
Fixed: int/float casting handles "1" and "0" correctly
Fixed: >,<,<=,>=,and,or,=,<> was not converted from boolean to integer
Fixed: Recursion in combination with FOREACH had really strange behaviour
Fixed: Negate operator (-) had wrong operator priority

Added: Support for hex values
Added: GETFILELIST
Added: REVINSTR
Added: MOD
Added: READUBYTE

Marmor:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version