Adventures in Linux Programming
by Rildo Pragana
Programming with TinyCobol
Here is the original README for the compiler, when it was first released.
Now our TinyCobol is usable and have its own homepage at http://tinycobol.org. As of October, 2001, our mailing list have about 180 subscribers and about a dozen people contributed to our code. A derivative of TinyCobol exists, the OpenCobol compiler, maintained by Keisuke Nishida, who is also a good contributor of our project.
I have been writing several add-on tools for our cobol compiler. One of them is TCGUI, a visual editor and GUI generator. It outputs a copybook that you will include in your cobol source and have a graphical screen, instead of the traditional screen section.
TCGUI is a visual screen editor that allows you to introduce several tcl/tk widgets, without the need to know anything about tcl, only cobol. It generates a copybook with the definitions and a compressed tcl/tk program source that will show the GUI at execution time. The figure above show the editor tool with a entry box selected. The contents entered by the user will be available at a cobol variable that you choose (in this example, NAME).
Several widget attributes may be modified during the design phase, just by clicking at a widget and filling the form at editor's main window. The attributes may also be modified by the cobol program during runtime.
TCGUI may be found here. It requires tcl/tk 8.X.Y (tested with 8.0.0 and 8.3.2), and run under virtually any version of TinyCobol.
Other TinyCobol sites
Last updated: 2002/04/04 09:25:42