Hey Dave --
I'd like something just half VAST ....
Cheers,
Alan
------
At 3:46 PM -0500 2/27/01, David N. Smith (IBM) wrote:
Jerry:
Sure, and I even recall that they are on my web site and may have been posted here some long time ago.
Basically, I have a set of methods that process class and method and application (but not subapplication) definitions from a fileout in IBM Smalltalk format and converts them to the nearest Squeak equivalent.
I've used it several times to convert things to Squeak.
Here is a longer description from the tools filein.
"VAST Filein Support allows IBM Smalltalk applications to be filed in.
Follow this process:
- File out a VAST Application (not just a class).
- In Squeak, file in the application.
The change set name of the filed in code is the application name; application BigStuffApp is saved in change set BigStuffApp. The change set is created, if needed, and each 'BigStuffApp becomeDefault' in the filein switches back to this change set.
The category of the filed in code is the application name; application BigStuffApp is saved in category BigStuffApp.
Method categories are set to those from VAST; private methods in a category are placed in a new category with the word 'private' appended. Thus, a private method in category 'access' is placed in category 'access private'. If there are no category for a method, the category is set to either 'Public methods' or 'Private methods'.
Class comments are filed in and can be seen by pressing the '?' button in a browser. Class notes are not filed in.
Class Application is a simple version of the VAST class Application. Class Subapplication is not supported at this time. Prereqs are checked and errors are noted in the Transcript. The only system prereq currently defined is Kernel.
All class definition methods are supported, including classInstanceVariables. However there is no equivalent to variableWord (16-bit) so it is mapped to Squeak's variableWord (32-bit).
Methods of applications themselves are filed in. #initializeAfterLoad can sent by the filein to the class and application and will execute. In addition, #loaded is sent to the application by the filein. If these methods do dangerous things, be sure to remove them before the filein.
A pool dictionary named CldtConstants is defined and has the same contents as in IBM Smalltalk; pools for CfsConstants, CgConstants, and CwConstants are not defined.! "
Dave
At 10:37 -0500 2/27/01, JArchibald@aol.com wrote:
=> 2/27/01 10:13:43 AM EST, dnsmith@watson.ibm.com => << ... I moved the code, written in IBM Smalltalk, to Squeak in January, using some tools I have for that, and identified 4-5 spots that needed minor changes due to differences in exception handling. ... _______________________________ Any opinions or recommendation herein are those of the author and not of his employer. >>
Dave,
Ahem.
Ahhhh, these tools that you mention -- can you in your role as an author communicate to us any of their content -- without jeopardy to your role as an employee?
Just hoping. :-)
Good luck, Jerry.
Jerry L. Archibald systemObjectivesIncorporated ____________________________
Attachment converted: Macintosh HD:IBM Smalltalk Fileins.13.cs (TEXT/R*ch) (00012D45) -- _______________________________ David N. Smith IBM T J Watson Research Center Hawthorne, NY _______________________________ Any opinions or recommendations herein are those of the author and not of his employer.
squeak-dev@lists.squeakfoundation.org