Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!emory!gatech!bloom-beacon!deccrl!news.crl.dec.com!shlump.nac.dec.com!ryn.mro4.dec.com!databs!norcott From: norcott@databs.enet.dec.com (Bill Norcott) Newsgroups: comp.object Subject: Re: Object-Oriented CASE Tools. Do they exist? Summary: Trellis offers an integrated environment with many CASE tools Keywords: DEC Trellis object oriented language CASE tool Message-ID: <3635@ryn.mro4.dec.com> Date: 13 Dec 90 21:07:42 GMT Sender: guest@ryn.mro4.dec.com Organization: Digital Equipment Corporation Lines: 155 -Message-Text-Follows- In article <4901@oasys.dt.navy.mil>, flitter@atisun.dt.navy.mil (Lance Flitter) writes... > > I'm interested in knowing what CASE Tools are available to support >an object-oriented development effort. I'd be interested in generic >tools and language specific ones. Front-end, Back-end, whatever. Any >input would be appreciated. Thanks. >-- >Lance Flitter - David Taylor Research Center, USN >flitter@dtrc.dt.navy.mil >VOICE (301) 227-3379 FAX (301) 227-5753 Trellis provides an integrated environment with a set of tools that make it much easier to develop object-oriented applications, especially large applications. I develop code on a daily basis in Trellis, C++ and C, and I find the Trellis environment by far the easiest to use. The tools I will describe comprise the integrated environment that comes with Trellis. So, these CASE tools are language-specific to Trellis. Also, each of these comes up in its own window, and it is possible to link the tools together, so that the output of one tool acts as input to another. Trellis is a REALLY integrated environment. All the Trellis objects, including type definitions, CASE tools (which are themselves instances of some type), and the instances of objects which your application created, are contained in a Trellis "workspace". When you start Trellis you give it the name of the workspace (which is a big file containing all your stuff). By the way, I would like to emphasize that these tools are just the ones we provide for you. It is very quick and easy in Trellis to create your own tools which inherit some of their properties from any of the tools that come with Trellis. This is because the tool is itself an instance of an object of a particular type, and you can use inheritence to derive new tools which are based upon existing tools. You should know that the Trellis source code for the entire type library including all tools, comes with the system. BREAKPOINT TOOL Lets you set and clear breakpoints in Trellis code. CATEGORY TOOL The 250 or so pre-defined Trellis object types are grouped into functional categories with this tool. This tool brings up a list of the categories that are defined. Examples of categories include "environment", "graphics", "compiler_interface", etc. Any newly created or modified type will get stuffed into a category called "changes". This is very useful, since Trellis lets you know exactly what you have changed. CROSS REFERENCE TOOL This tool does several things for you. You can enter the name of a type and get a listing of what what calls it. An entry in the list consists of the name of the Trellis type + the name of the operation, which referenced the type you are interested in. Or, you can select the name of an operation, and get a list of all the other operations which it calls. Either of these displays can return crossreferencing information for "supertypes only" of the type, "subtypes only" or both. DEFINITION TOOL This lets you enter the name of a Trellis type, and get a list of all operations on that type, including (if you wish) operations which have been inherited from supertypes. EDITOR As the name implies, this lets you Trellis source code, but it also has some interesting twists. You can use the definition tool to list all the operations on a type, select one with the mouse, press Edit, and you are now editing that operation. You can press the Compile button and it will compile the Trellis code into the system. (By the way, Trellis employs an incremental compiler, so you can add or modify operations one at a time. It is not like the edit-compile- link cycle you may be used to). Another feature of the editor is that it will create a prototype operation for you, i.e. a template in the editor for creating a new operation. ERROR TOOL This tool pops up whenever a compilation error occurs. An error message comes up, and you can click on the message to get a detailed explanation. You can also show the error, which will display the source code with the cursor positioned at the offending statement. EVALUATOR TOOL This is one of the most useful of all the tools during applications development. As previously mentioned, Trellis is an incremental compiler. The evaluator acts like a Trellis interpreter. You can type in any Trellis expression and click on Evaluate, and Trellis will interpret and execute the statement. You can create objects and invoke operations on those objects from the evaluator. This lets you test your Trellis code very easily without having to write test programs. You can test interactively in the evaluator by just creating some data and invoking operations on the data. GRASS CATCHER This tool keeps track of all definitions of operations which contained errors or inconsistencies caused by something you compiled. SOURCE VIEWER Lets you scan the Trellis source of any operation (interface only, or implementation as well). STORAGE TOOL The Trellis system has a complete garbage collection facility. This tool lets you view the usage and availability of memory, and to manually initiate garbage collection. It is more of a Trellis system maintenance tool rather than a CASE tool. TYPE HIERARCHY TOOL This interesting tool lets you view the inheritence hierarchy of any Trellis type: what types it is descended from and what subtypes are based upon it. Trellis allows multiple inheritence. All objects in Trellis descend from a single abstract type called Object. TYPE MODULE TOOL This tool lets you choose one of the categories from the category tool, and get a listing of all the Trellis types contained in that category. Using this tool you can also save the Trellis source code definition of that type to a file (that is, to a unique file in the file system, that is outside of your workspace file). A pretty typical way of making sure that all of your changes are saved to files, is to open the category tool, click on the Changes category (this is all the Trellis sources you changed), bring up the type module tool, and choose "Save Selected Types". This will cause all the changes you made to be saved to files. This is just a brief overview of the Trellis tool set. For more information, you can order the following book from Digital: Trellis Book Part Number DEC Trellis Object System Guide to Tools AA-NG93A-TE I hope this helps you out. Bill Norcott Digital Equipment Corporation