FBSL v3.5 Early Alpha

(Vital Data and New Beta Release Info)

FBSL v3.5 Early Alpha

Unread postby Mike Lobanovsky » Tue Oct 23, 2012 6:21 am

Hello everybody,

So I've added all the fixes I planned to add to FBSL v3.5 EXCEPT the new DynC layer which I'm starting to work on now. I expect this final stage of FBSL v3.5 project to be completed in the coming 4 or 5 weeks.

In the meantime, I'd like to present the initial pre-release of FBSL v3.5 binaries for public alpha-testing. Please read the included text files for a brief description of new language features and feel free to test the binaries.

I would like to have your feedback in the form of possible suggestions and bug reports and I would also like to know if the new version is fully compatible with your existing code base.

Thank you.


1. Fixed a bug in #IfDef/#IfNDef which occured for some of the so-called "FBSL's intrinsic constants". Thanks Gerome! :)

Remarks: In fact, "FBSL's intrinsic constants" fall into 2 categories:
-- "constants" exported directly by the source code of FBSL binaries. They are exposed to the user by the binaries under symbolic names such as e.g. TRUE, FALSE, NULL, PI, other maths constants, and a few others. They always fail the #IfDef test because they are not #Defines but rather global variables with a preset value;
-- "constants" which appear due to the #Uses "@|XXXX" directive such as MB_ICONSTOP, WM_PAINT, GWL_EXSTYLE, and many, many more. They are genuine #Defines and they always pass the #IfDef test even though they are not defined by the user in the script explicitly but rather exported implicitly from the RT_RCDATA library which is originally imbedded in the FBSL binaries as a resource.

Here's a short script to exemplify it. Fiddle with #IfDefs/#IfNDefs to get the feeling. Gerome can already elaborate on this problem and its consequences some more, if he feels like it... :wink:
Code: Select all
#Uses "@|WIN32"
#AppType Console

? PI ' THIS IS A VARIABLE FROM FBSL.EXE/.DLL PRESET TO !!3.14..., NOT A #DEFINE, SO THE TEST BELOW FAILS
#IfDef PI
#Define PI 23 ' VARIABLES CAN BE RE-DEFINED
#EndIf
? PI

? MB_OK ' THIS IS A GENUINE, THOUGH IMPLICIT, #DEFINE FROM "@|WIN32" PRESET TO %0 SO THE TEST BELOW PASSES
#IfDef MB_OK
#Define MB_OK 123 ' #DEFINES CAN BE RE-DEFINED TOO
#EndIf
? MB_OK

Pause

2. Restored the RegExp layer which has been missing from FBSL ever since we abandoned the LCC-Win32 compiler and changed to GCC. Enjoy regular expressions in FBSL in full conformity with the wiki! 8)

3. Refactored the code optimization scheme a little to make the binaries some 10KB smaller. :)

[EDIT 22/01/13] I've removed the FBSL v3.5 Alpha distro from the site because that build contained too many bugs. Most of them are fixed now but the product is still too raw for distribution. Please stay tuned for the version Beta which may be out any time soon.
Mike
"Я старый солдат, мадам, и не знаю слов любви."
"I am an old soldier, ma'am, and I don't know the words of love."
"Je suis un vieux soldat, madame, et je ne connais pas les mots d'amour."
"Ich bin ein alter Soldat, gnädige Frau, und ich weiß nicht die Worte der Liebe."

__________________________________________________________________________________________________________________________________________________
(3.2GHz i5 Core Quad, 8GB RAM / 2 x nVidia GTX 550Ti SLI-bridged, 2GB VRAM)
(x86 Win XP Pro Russian Sp3/x86 Win Vista Ultimate Sp2/x64 Win 7 Ultimate Sp1/Wine in x64 elementaryOS Luna)
User avatar
Mike Lobanovsky
FBSL Administrator
FBSL Administrator
 
Posts: 1823
Joined: Tue Apr 19, 2005 8:22 am
Location: Republic of Belarus

Re: FBSL v3.5 Early Alpha

Unread postby Gerome » Tue Oct 23, 2012 3:29 pm

Dear Mike,

Excellent news, all samples given are fully OK onto my 3 PCs : 2 onto XP x32 and 1 under Win7 x64 !
All actual samples remain OK, great effort, wonderful results and powerful abilities now for any BASIC or MASM developers!!!
Many thanks :)
Yours,

(¯`·._.·[Gerome GUILLEMIN]·._.·´¯)
:: Full SETUP w. HELP 05th of December 2011 ::
http://www.fbsl.net/setup/FBSLv3.exe [full v3.4.10 installation pack]
http://www.fbsl.net/setup/FBSLv3bin.zip [minimal upgrade to v3.4.10]
Laissons les jolies femmes aux hommes sans imagination. / Let us leave pretty women to men without imagination.(M.Proust)
The success is a defeat for the one who does not want to dance any more! (H.F. Thiefaine)
User avatar
Gerome
FBSL Administrator
FBSL Administrator
 
Posts: 3149
Joined: Sat Mar 12, 2005 9:06 pm
Location: Paris -- France

Re: FBSL v3.5 Early Alpha

Unread postby Mike Lobanovsky » Tue Oct 23, 2012 6:06 pm

Thanks for the great news Gerome! :)
Mike
"Я старый солдат, мадам, и не знаю слов любви."
"I am an old soldier, ma'am, and I don't know the words of love."
"Je suis un vieux soldat, madame, et je ne connais pas les mots d'amour."
"Ich bin ein alter Soldat, gnädige Frau, und ich weiß nicht die Worte der Liebe."

__________________________________________________________________________________________________________________________________________________
(3.2GHz i5 Core Quad, 8GB RAM / 2 x nVidia GTX 550Ti SLI-bridged, 2GB VRAM)
(x86 Win XP Pro Russian Sp3/x86 Win Vista Ultimate Sp2/x64 Win 7 Ultimate Sp1/Wine in x64 elementaryOS Luna)
User avatar
Mike Lobanovsky
FBSL Administrator
FBSL Administrator
 
Posts: 1823
Joined: Tue Apr 19, 2005 8:22 am
Location: Republic of Belarus

Re: FBSL v3.5 Early Alpha

Unread postby Gerome » Thu Oct 25, 2012 9:49 am

Mike Lobanovsky wrote:Thanks for the great news Gerome! :)


Dear Mike,

Many thanks for the fix you've bring to the #IfDef vs Consts, now FBSL does not freeze anymore!!
It rocks!
Thanks again :)
Yours,

(¯`·._.·[Gerome GUILLEMIN]·._.·´¯)
:: Full SETUP w. HELP 05th of December 2011 ::
http://www.fbsl.net/setup/FBSLv3.exe [full v3.4.10 installation pack]
http://www.fbsl.net/setup/FBSLv3bin.zip [minimal upgrade to v3.4.10]
Laissons les jolies femmes aux hommes sans imagination. / Let us leave pretty women to men without imagination.(M.Proust)
The success is a defeat for the one who does not want to dance any more! (H.F. Thiefaine)
User avatar
Gerome
FBSL Administrator
FBSL Administrator
 
Posts: 3149
Joined: Sat Mar 12, 2005 9:06 pm
Location: Paris -- France


Return to FBSL v3 News

Who is online

Users browsing this forum: No registered users and 1 guest

cron