Results 1 to 12 of 12

Thread: Would like feedback.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    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

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    seems to me that there's something wrong with creating a BASIC language using VB to build it, but I could be wrong...

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271
    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.

  4. #4
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    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?)?

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271
    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

  6. #6
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    What are your class wrappers wrapped around though? I'm just curious which GUI API you choose to use.

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271
    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

  8. #8
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    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.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271
    kasracer,
    Ok I understand your question now. Sorry, guess im a bit slow.

    Yes I used the Win32 API.


    packetvb

  10. #10
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    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.

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271
    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

  12. #12

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    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
  •  



Click Here to Expand Forum to Full Width