|
-
Nov 7th, 2004, 01:57 AM
#1
Thread Starter
Hyperactive Member
Would like feedback.
I would like some feedback from vb programers on a project im doing. Im basically doing my own basic language trying to keep close to vb.
Any encouragement or discouragement would be great.
www.martinm.net/vsBasic.html
-
Nov 9th, 2004, 04:05 AM
#2
seems to me that there's something wrong with creating a BASIC language using VB to build it, but I could be wrong...
-
Nov 9th, 2004, 06:10 AM
#3
Thread Starter
Hyperactive Member
dglienna,
You kinda lost me there.
You mean that you think I used VB to create the IDE,convert program and ect?
It was all done in C++.
Check what the exe's are linked with. No VB runtime dll is there.
Or do you mean that it is too close to VB?
Thats the whole idea. A free basic language similiar to VB but without runtime dll and option to make true dll.
But thanks for the feedback.

Oh yea, just a note: I dont think I mentioned it anywhere, but currently basic source must be error free as only a limit number of checks for errors are done during the conversion. Also the compile button calls the batch file that calls the mingw gcc compiler to compile to exe.
Last edited by packetVB; Nov 9th, 2004 at 06:21 AM.
-
Nov 9th, 2004, 05:19 PM
#4
Seems neat. I take it that your program converts your language into C++ and then compiles with MinGW? Or do you have a slightly different method? What kind of code does it get converted to for the GUI (Win32 API? ALT? wxWidgets? qt? MFC?)?
-
Nov 9th, 2004, 06:09 PM
#5
Thread Starter
Hyperactive Member
kasracer,
Correct. the basic source is converted to c++ and then compiled with MingW, so user must have MingW to compile to Exe.
The GUI is done by my own class wrappers that have methods similiar to vb.
I didnt use ones already made because I wanted to handle window messages similiar to how vb does. Like the cmdCancel_Click().
Thanks for feedback, much appereciated.
packetvb
-
Nov 9th, 2004, 06:43 PM
#6
What are your class wrappers wrapped around though? I'm just curious which GUI API you choose to use.
-
Nov 9th, 2004, 08:51 PM
#7
Thread Starter
Hyperactive Member
Uh well,
Since they were created to be similiar to vb, the Classes are Forms,TextBoxes,Labels,CommandButtons,ComboBox,ListBox,Frame, ListView.
Each of these include thier own message handling and window creation.
So API used in them are CreateWindowEx, and SetWindowLong (to subclass) GetWindowLong.
Not suire if thats what you meant
packetvb
-
Nov 10th, 2004, 08:57 AM
#8
Originally posted by packetVB
Not suire if thats what you meant
An API is a set of functions that allows you to interface with something. I'm guessing that is the Win32 API that you're using.
-
Nov 10th, 2004, 09:04 AM
#9
Thread Starter
Hyperactive Member
kasracer,
Ok I understand your question now. Sorry, guess im a bit slow. 
Yes I used the Win32 API.
packetvb
-
Nov 12th, 2004, 01:56 AM
#10
It does seem close to VB, but if you include things that VB doesn't then it would be a good thing. Especially if it picks up speed when it is compiled. I will gladly test it with my app. It has flexgrids, listboxes, option buttons, checkboxes, and line-drawing. It also implements text files.
PM when you have a working program.
-
Nov 15th, 2004, 07:00 AM
#11
Thread Starter
Hyperactive Member
dglienna,
It does seem close to VB, but if you include things that VB doesn't then it would be a good thing. Especially if it picks up speed when it is compiled. I will gladly test it with my app. It has flexgrids, listboxes, option buttons, checkboxes, and line-drawing. It also implements text files.
Since it is translated to c++ it should be faster in speed.
It will be some time before its near vb, as there is only one developer.

packetvb
-
Dec 4th, 2004, 06:33 AM
#12
Thread Starter
Hyperactive Member
Re: Would like feedback.
Updated version:
Here some of the new things.
Basic Dir function added.
Implemented Form and Source code open and save.
Implemented Object combobox to allow selecting objects on form.
Changed multiline for textboxes to show the scrollbar. Any text added to a multiline textbox will automatically scroll to the last line.
Added FontName(String),FontSize(Integer),FontUnderLine(Bool),FontItalic(Bool),FontBold(Bool) methods.
Conversion implemented for files: Open, Close, Eof, Line Input, Print -- (Text files only).
Conversion implemented for while/wend statements.
My last post here on this subject. Anyone interested can watch for updates on my web site.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|