home *** CD-ROM | disk | FTP | other *** search
- Improvements Since
- CTools‚Ñ¢ version 2.16:
-
- The jump from 2.16 to 2.2 was all on unreleased versions. I decided to start with the next highest, relatively even, version number, for this release.
-
- Pascal to C improvements:
- • Fixed it to handle many, many more character case discrepancies than before, on commonly encountered keywords.
- • Added translate table entries to add left and right parens after many common toolbox calls having no arguments.
- (i.e. InitWindows; to InitWindows ();).
- • Added translations for some minor, yet omitted, keywords and other things. (see Appendix)
- • Patched some small translation items resulting in less (or easier to do) manual editing.
- • Translate table additions: 135.
- • Added conversion for Pascal’s ‘@’ operator to C’s ‘&’ operator.
-
- Other Improvements:
- • Made CTools™ save ‘TEXT’ files with its own signature, ‘GH22’ for quick spotting in the Finder and SFGet dialog.
- • Gave CTools™ a new color icon.
- • Added color animated cursor during long processes.
- • Added “Select All” to the Edit Menu.
- • Added command key modifiers to the CTools™ menu items.
-
- To Do List:
- - Make it handle ‘for’ loops. √ done (95%)
- - Make it handle switches more completely.
- - Make it do constants better. ‚àö done (90%)
- - Improve typedef and record conversion. ‚àö done
- - Add ‘()’ after argumentless routine calls.
- - Make comment styles selectable. ‚àö done
- - Make source formatter configurable.
- - Correct left off paren on do-while loop.
- - Fix start brace dislocation in procedure parsing routine.
- - Fix missing ‘;’ on line before before ‘else’.
- - Put in more ‘&’ where needed.
- - Make Proto Gen work right for new and old style, so it’s more usable.
-
- ...eventually...
- - Do C to Pascal.
- - Do batch translating.
- - Do flow of whole program
- (That oughta keep me busy!)
-
-