Just an idea:
There should be two states a program can be in, Debug and Release (just
like VC++). While the program is in Debug, it would compile to bytecode
and an interpreter runs this code. This should make debugging facilities
a bit easier to program. When the programmer wants to Release his/her
program to the public, he/she selects 'Make <program name>' from a menu
(as in VB) and the program is natively compiled and debug info in the
source code is ignored (VB ignores Debug.Print statements when it is
Make-ing the program). There is also another Basic project (KBasic)
being developed at the moment, perhaps the bytecode should be compatible
with that?
|