Programmer's Haven
« Jan... Will probably hate me soon ;-) »

Welcome Guest. Please Login or Register.
Dec 27, 2009, 11:58am




Programmer's Haven :: Other Languages :: RapidBATCH :: Jan... Will probably hate me soon ;-)
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Jan... Will probably hate me soon ;-) (Read 128 times)
Garrett
Administrator
member is offline

[avatar]

I shall conquor the worl..... Ooooo, pretty blinking LED lights!


[homepage]

Joined: Dec 2006
Gender: Male
Posts: 623
Location: In my mind
 Jan... Will probably hate me soon ;-)
« Thread Started on Oct 8, 2009, 4:18pm »


Quote:
Then, a first alpha version with already working features will come into reach! Please be patient for two or three months, you'll be updated when news around RB6 are coming up.


I don't think you are paid enough to put up with me Jan :P But I just wanted to check back in with you on any news of RB6 since it's been a few months (early June) since we last saw any news of it.

Jan, feel free to stuff a shoe in my mouth to shut me up at any time ;D
Link to Post - Back to Top  IP: Logged

'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)

Some software and links: [Parabolic Logic]
My blog, or, My Rants: [MSN Live Spaces]
firsttimer
New Member
*
member is offline





Joined: Mar 2009
Posts: 11
 Re: Jan... Will probably hate me soon ;-)
« Reply #1 on Oct 8, 2009, 5:25pm »

You arent the only one losing patient. :'(

I am also getting restless. coz I got alot of programs that need to rewrite and I intend to convert it all to rapidbatch codes but I needed alot functions than the current rapidbatch version could provide. :'(

I think its already over 2 years regarding this rb6 project. :'(
« Last Edit: Oct 8, 2009, 5:25pm by firsttimer »Link to Post - Back to Top  IP: Logged
Garrett
Administrator
member is offline

[avatar]

I shall conquor the worl..... Ooooo, pretty blinking LED lights!


[homepage]

Joined: Dec 2006
Gender: Male
Posts: 623
Location: In my mind
 Re: Jan... Will probably hate me soon ;-)
« Reply #2 on Oct 8, 2009, 9:53pm »

I'm not losing patience myself. I'm just curious... Ok, I am anxious but am happily waiting and not looking for anything else to fill RB's place in my tools. I like RB too much to be upset or leave it.

In fact, I am not really using RB right now due to the inconsistent window dimension issue I noted on this forum further down and I'm hoping that RB6 resolves that problem so I can start using RB much more. I've passed over RB for quite a few projects because of this problem. For me, if the interface is not perfectly sized then I cannot use it or distribute it.
Link to Post - Back to Top  IP: Logged

'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)

Some software and links: [Parabolic Logic]
My blog, or, My Rants: [MSN Live Spaces]
radix42
Moderator
member is offline





Joined: Dec 2006
Gender: Male
Posts: 49
Location: germany
 Re: Jan... Will probably hate me soon ;-)
« Reply #3 on Oct 9, 2009, 3:10am »


Oct 8, 2009, 9:53pm, Garrett wrote:
...
In fact, I am not really using RB right now due to the inconsistent window dimension issue I noted on this forum further down and I'm hoping that RB6 resolves that problem so I can start using RB much more.
...


I'm sure RB6 will correct this behavior. In the meantime could you check a sample script, which allows you to set the size of a dialog based on the required client area size? It requires an external DLL which is included: http://afmx.de/RB-ClientSize.rar.

Here's the main script:
Code:
dec [RetVal]

include 'rbUtil2.rb'

rem load and initialize rbUtil2
rbUtil2Initialize [RetVal]

rem abort on error
if [RetVal] ! [true]
    echo 'Error loading rbUtil2'
    halt
endif

rem **************************************************************************

PROC SizeClientArea: [_Dialog], [_Width], [_Height]

    dec [_hWnd], [_Ret], [_WndW], [_WndH], [_CltW], [_CltH]

    rem get the window handle of the dialog.
    GETDIALOG [_hWnd] = [_Dialog], 'HWND'
    
    rem get the size of the window.
    EXT [_Ret] = [_rbUtil2], 'rbxWndGetAttr', [_hWnd], 'Size'
    
    rem extract width and height.
    GETTOK [_WndW] = [_Ret], '|', '1'
    GETTOK [_WndH] = [_Ret], '|', '2'
    
    rem get the size of the client area.
    EXT [_Ret] = [_rbUtil2], 'rbxWndGetAttr', [_hWnd], 'Client'
    
    rem extract width and height.
    GETTOK [_CltW] = [_Ret], '|', '1'
    GETTOK [_CltH] = [_Ret], '|', '2'
    
    rem calculate the difference between window size and size of the
    rem client area. resize the window so that client area has
    rem the given size.
    [_WndW] = [_WndW] + [_Width] - [_CltW]
    [_WndH] = [_WndH] + [_Height] - [_CltH]
    
    rem resize the window
    EXT [_Ret] = [_rbUtil2], 'rbxWndSetAttr', [_hWnd], 'Size', [_WndW] # '|' # [_WndH]
    
    ret
    
ENDPROC

rem **************************************************************************

rem create a dialog
NEWDIALOG 'myDialog', 'DIALOG', '100|100|400|300'
LETDIALOG 'myDialog', 'CAPTION', 'Demo window with 400x300 client area'

rem resize the dialog for 400x300 client area
SizeClientArea 'myDialog', '400', '300'

rem show the window, wait for close
LETDIALOG 'myDialog', 'VISIBLE', [true]
RUNDIALOG [RetVal] = '0'

end


rbUtil2 is written by me as an extension for RB5 and I'm working with Jan to integrate most of the functions into RB6.

radix42
« Last Edit: Oct 9, 2009, 3:12am by radix42 »Link to Post - Back to Top  IP: Logged

:
If debugging is the process of removing bugs, then programming must be the process of putting them in.
:
firsttimer
New Member
*
member is offline





Joined: Mar 2009
Posts: 11
 Re: Jan... Will probably hate me soon ;-)
« Reply #4 on Oct 9, 2009, 5:49am »

radix42, could you kindly translate the rbUtil2 help file to english please? :'(

I needed that to pass my time while waiting for RB6. :(
Getting addicted to rapidbatch isnt all that fun unless I have something to while away my time while waiting for RB6. :P
Link to Post - Back to Top  IP: Logged
codepilot
Developer
member is offline

[avatar]

Shift-reduce conflict

[icq]
[homepage]

Joined: Dec 2006
Gender: Male
Posts: 72
Location: Dortmund, Germany
 Re: Jan... Will probably hate me soon ;-)
« Reply #5 on Oct 9, 2009, 7:11am »

Hi folks,

uhh I can understand your lose of patience, but its a hard way to go.
Let me explain:

  • There exists a test environment for the new RB6 syntax running on console
  • We built up a development and build environment which compiles both on Linux and Windows - this environment is now ready for use.
  • RapidBATCH is entirely written from scratch, and integrates with own development tools which themself have been written from scratch. RB6 is build with our own parser generator, generates code for an independent, modular virtual machine and is now capable to compile both on Linux and Windows, for future reasons.
  • Last week, I began to build up a RB6 source directory structure to integrate and provide the native functions that RapidBATCH provides as fast as possible.
  • Currently, I'm in revising the self-written regular expression library to support UTF-8 unicode functionality. This whole functionality of regular expressions should also become part of RB6 as core language feature.


Now what do you think? Currently, I'm the only developer on the project, radix42 and another friend of me will assist me as soon as the core language is ready to go - then, hopefully, we'll take a giant feature boost to the whole community.

Oh yes, there is also a new collaborative web environment set up, which will soon be available to all beta testers, to obtain all informations, news and to report bugs to the RB6 development team.

PLEASE SAY PATIENT!

Okay, this is something visual, taken already in June (a first test run of the core language on Win7!):
[image]

We hope to present you a first alpha version of the upcoming RB6 in early 2010. Is that a word? :)

Bye,
~codepilot
Link to Post - Back to Top  IP: Logged
firsttimer
New Member
*
member is offline





Joined: Mar 2009
Posts: 11
 Re: Jan... Will probably hate me soon ;-)
« Reply #6 on Oct 9, 2009, 7:54am »

Wow, ok, thats it, Im signing up for the beta tester now. ;D

Yeah, I forgot to do it in the first place. :o
Hope Im not too late. Just found the beta tester email request link. Hope Im not too late. :'(
« Last Edit: Oct 9, 2009, 7:56am by firsttimer »Link to Post - Back to Top  IP: Logged
codepilot
Developer
member is offline

[avatar]

Shift-reduce conflict

[icq]
[homepage]

Joined: Dec 2006
Gender: Male
Posts: 72
Location: Dortmund, Germany
 Re: Jan... Will probably hate me soon ;-)
« Reply #7 on Oct 9, 2009, 9:20am »

you're not! :)
Link to Post - Back to Top  IP: Logged
Garrett
Administrator
member is offline

[avatar]

I shall conquor the worl..... Ooooo, pretty blinking LED lights!


[homepage]

Joined: Dec 2006
Gender: Male
Posts: 623
Location: In my mind
 Re: Jan... Will probably hate me soon ;-)
« Reply #8 on Oct 9, 2009, 9:39am »

Mmmmm... Mmmmmm.... MMMMMMMM!

It's like waiting for a cake to bake, you can smell how good it is going to taste while it's in the oven, but you just can't quite eat it yet. :-)

Alright then, for a taste of the cake I must wait until early 2010. That I can do! :-)

Thank you for the update Jan.

Radix42, danke for the code and information up there also. I will try it out later today. This was the only major issue that was holding me back with using RB5 for many of my projects. I'm not sure about others, but a properly aligned GUI is very very important to me. I may even be a zealot with regards to this as I have avoided programs that I see that are even 1 pixel off with a button or any other GUI element.
Link to Post - Back to Top  IP: Logged

'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)

Some software and links: [Parabolic Logic]
My blog, or, My Rants: [MSN Live Spaces]
Michael
Uber Yapper
*****
member is offline

[avatar]


[homepage]

Joined: Oct 2007
Gender: Male
Posts: 974
 Re: Jan... Will probably hate me soon ;-)
« Reply #9 on Oct 9, 2009, 10:26am »

Looks good Jan.

Are you using MingWGCC? (a good choice, its smaller than Cygwin).

> self-written regular expression library

A library for PCRE, well worth looking at is here: http://www.pcre.org/

You're making good progress, have fun while you learn =)

Link to Post - Back to Top  IP: Logged

Link Mojo: A Link Exchange For Small Software Developers
codepilot
Developer
member is offline

[avatar]

Shift-reduce conflict

[icq]
[homepage]

Joined: Dec 2006
Gender: Male
Posts: 72
Location: Dortmund, Germany
 Re: Jan... Will probably hate me soon ;-)
« Reply #10 on Oct 10, 2009, 4:46pm »

Hi Michael,


Oct 9, 2009, 10:26am, Michael wrote:
Are you using MingWGCC? (a good choice, its smaller than Cygwin).


yes, the build-system (DevEnv) runs with MSYS as unix-like Shell environment (to use shell scripts, awk and sed), but as compiler, Microsoft Visual C++ is used on Windows, gcc on Linux. Makefiles are capable to both run with GNU make and nmake. The DevEnv will be released as BSD-licensed open source project when the parser generator is released to the public somewere in future.


Oct 9, 2009, 10:26am, Michael wrote:
A library for PCRE, well worth looking at is here: http://www.pcre.org/

You're making good progress, have fun while you learn =)


Well, it's a tradition with this software that everything is build entirely from scratch, in our own style. It's not the fastest and a more error-prone way, but I want to know how it works. And that's the reason why we implement it on our own. A system, only depending on the C Standard Library and Windows SDK - everything else is self-written :) - I like this! :D Oh right, and the best of all: It's platform independent ;D

Jan
Link to Post - Back to Top  IP: Logged
radix42
Moderator
member is offline





Joined: Dec 2006
Gender: Male
Posts: 49
Location: germany
 Re: Jan... Will probably hate me soon ;-)
« Reply #11 on Oct 12, 2009, 1:42am »


Oct 9, 2009, 5:49am, firsttimer wrote:
radix42, could you kindly translate the rbUtil2 help file to english please? :'(
...


First, I've changed location recently and there's a lot of work in the new house. And second, when RB6 is ready then rbUtil2 will be obsolete. If you have a question about some functions, I'll happy to translate that part / give some examples - but ATM I've not enough time to translate the whole help file.

radix42

PS: Some functions are easy to add (like reading the size of the client area of a window), so even if some function is missing you can ask. Maybe it's easy to implement and/or useful to integrate into RB6.
Link to Post - Back to Top  IP: Logged

:
If debugging is the process of removing bugs, then programming must be the process of putting them in.
:
   [Search This Thread][Send Topic To Friend] [Print]

Google
Webcodecraft.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!