One approach to the VB support and migration problem is to either
compile the original VB directly into Java bytecode or
interpret the VB code at run time.
The advantage of this type of approach is that you maintain complete compatibility with the original environment.
Unfortunately invisibly translating the VB code into the target environment means any problems
arising due to incorrect translation of program semantics or lack of implementation will leave the developer "high and dry".
Also there is no easy way for the developer to add to or alter the implementation.
The PaNaSeaM approach is to Firstly provide a run time environment where all the peculiarities of VB
are replicated as accurately as possible.
Some examples are: "pass by reference", Variants, GoTo and On Error, File I/O and operator precedence. Secondly by making the run time libraries "plugabble" it is possible for the developer to actually
implement their own fix for faulty or missing implementation. Thirdly by translating the VB source into Java source the developer can actually check the translated
code against the original to see if a fault lies in translation and can immediately remedy
the problem.
The PaNaSeaM approach is currently aimed at one way migration only!
Contact: P e t e M o r g a n: p a n a s e a m (a) d e v . j a v a . n e t