Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenBASIC 0.2 released
#1
OpenBASIC is a compiler that takes code similar to FreeBASIC and QuickBASIC and compiles it on many different platforms. It's main goal is not speed (for now) but rather, cross-platform compiling and OOP (Object Oriented Programming).

Downloads:

http://degutis.org/ob/obc-win32-core-0.2.zip
http://degutis.org/ob/obc-win32-mingw-0.2.zip
http://degutis.org/ob/obc-src-0.2.zip

Notes:

It has barely any functionality at this point. I've disabled graphics so that I could work on console mode (which is almost done). Feel free to test it though.

For now, all console mode functions work, except Print View, Window, and Input (but Line Input works) as far as I know. If there are other console functions I'm not aware of, and they aren't working in openbasic, let me know!

Most simple control keywords like If, Dim, For, While, Do, etc work. Inkey$ works but multikey does not in console mode!

Keywords are case-insensitive.

Instructions:

For Windows, you should install the win32-mingw package. Otherwise, download mingw32 yourself and install pdcurses.

For any other OS, download the source, compile it with the makefile, go into obc.ini and delete the OS blocks that are not yours (like win32 and macosx for example, if you are on linux).

Run "./obc" (or just obc if you are on windows) to see options and usage.

Enjoy:

Enjoy!
Reply
#2
Based on gcc? A very smart move. Looking forward to further updates.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)