10-16-2004, 07:21 PM
I previously completed the 4th and final release of the QuickerBasic preliminary scratch interpreter. It is available at:
http://qkrbasic.sourceforge.net/qkrbasic-prelim4.zip
It is programmed in VB, although a binary is included. Note that the real thing will be programmed in C (and maybe some C++).
It currently implements a wide range of standard library functions and programming contructs including:
expressions, variable assignment, line labels, line numbers, one-line IFs, GOTO, PRINT, INPUT, multi-line IFs, DO/LOOP, FOR/NEXT, EXIT DO/FOR/WHILE, DIM/DIM SHARED, DEFxxx, END/SYSTEM, ABS, ATN, COS, EXP, LOG, RND, SGN, SIN, SQR, TAN, LET, RANDOMIZE, CLS, LOCATE, COLOR, ASC, CHR, MID, INSTR, LCASE, LEFT, RIGHT, UCASE, LTRIM, RTRIM, SPACE, SPC, TAB, STRING, LEN, CDBL, CINT, CLNG, CSNG, FIX, INT, HEX, OCT, STR, VAL, INKEY, GOSUB, RETURN, SELECT CASE/CASE/END SELECT, WHILE/WEND, $STATIC arrays, DECLARE SUB/FUNCTION and SUBs/FUNCTIONs.
What it doesn't implement is graphical standard functions, $DYNAMIC arrays and user-defined types.
A range of examples/tests is included, although I believe there will still be a lot of bugs in the scratch interpreter. However, the performance or stability of the scratch interpreter is not the main reason why I'm posting here.
I'm going to begin the real thing soon, and I'd like a bit of feedback on what kinds of enhancements and extensions you would like to see QuickerBasic implementing over QuickBasic. A plan is available at:
http://qkrbasic.sourceforge.net/qkrbasic.txt
Remember, feedback is a critical component of open-source projects, so i encourage you to reply with your ideas. This is your chance to help shape a "modern" QuickBasic which can be actively managed and maintained.
Of course, as per previous feedback, improved efficiency of compiled code and greater memory capacity will definately be implemented.
With that said, if anyone knows C and is interested in helping out with the project, feel free to e-mail me (someone42_000 at hotmail dot com). In particular, I'm looking for someone to program a GUI for an IDE (especially if you can do it with wxWidgets).
You can also help out, even if you don't know C, by making a set of testing programs (a "test suite") for QuickerBasic. Testing wierd quirks, various contructs, capacities and combinations of quirks and contructs would prove to be very useful when QuickerBasic is able to compile/interpret certain code, and when I'm making changes to existing clean code.
http://qkrbasic.sourceforge.net/qkrbasic-prelim4.zip
It is programmed in VB, although a binary is included. Note that the real thing will be programmed in C (and maybe some C++).
It currently implements a wide range of standard library functions and programming contructs including:
expressions, variable assignment, line labels, line numbers, one-line IFs, GOTO, PRINT, INPUT, multi-line IFs, DO/LOOP, FOR/NEXT, EXIT DO/FOR/WHILE, DIM/DIM SHARED, DEFxxx, END/SYSTEM, ABS, ATN, COS, EXP, LOG, RND, SGN, SIN, SQR, TAN, LET, RANDOMIZE, CLS, LOCATE, COLOR, ASC, CHR, MID, INSTR, LCASE, LEFT, RIGHT, UCASE, LTRIM, RTRIM, SPACE, SPC, TAB, STRING, LEN, CDBL, CINT, CLNG, CSNG, FIX, INT, HEX, OCT, STR, VAL, INKEY, GOSUB, RETURN, SELECT CASE/CASE/END SELECT, WHILE/WEND, $STATIC arrays, DECLARE SUB/FUNCTION and SUBs/FUNCTIONs.
What it doesn't implement is graphical standard functions, $DYNAMIC arrays and user-defined types.
A range of examples/tests is included, although I believe there will still be a lot of bugs in the scratch interpreter. However, the performance or stability of the scratch interpreter is not the main reason why I'm posting here.
I'm going to begin the real thing soon, and I'd like a bit of feedback on what kinds of enhancements and extensions you would like to see QuickerBasic implementing over QuickBasic. A plan is available at:
http://qkrbasic.sourceforge.net/qkrbasic.txt
Remember, feedback is a critical component of open-source projects, so i encourage you to reply with your ideas. This is your chance to help shape a "modern" QuickBasic which can be actively managed and maintained.
Of course, as per previous feedback, improved efficiency of compiled code and greater memory capacity will definately be implemented.
With that said, if anyone knows C and is interested in helping out with the project, feel free to e-mail me (someone42_000 at hotmail dot com). In particular, I'm looking for someone to program a GUI for an IDE (especially if you can do it with wxWidgets).
You can also help out, even if you don't know C, by making a set of testing programs (a "test suite") for QuickerBasic. Testing wierd quirks, various contructs, capacities and combinations of quirks and contructs would prove to be very useful when QuickerBasic is able to compile/interpret certain code, and when I'm making changes to existing clean code.