Comments on Porting Command Language Interpreter (CLI) by WIS JPMO to DEC Ada Tool 34 August 2, 1985 COMPILATION ----------- A VMS command file was created from the ordered list of compilation units provided in CLISRC.DIS. We were able to recompile the Command Language Interpreter with only minor changes in two files. Errors occured because the generic instantiation of package INTEGER_IO was needed, but had been commented out of the code. This comment notation was removed. Additionally, the parameter "C" in the procedure GETC had to be changed to mode "in out" from mode "out", so that a necessary assignment could be made to "C". EXECUTION --------- We were able to link CLI_2 without any problems. Although no Users Manual was provided, the code stated that the Command Language Interpreter (CLI) implements the tools found in chapters one and two of "Software Tools in Pascal" by Brian W. Kernighan and P. J. Plauger. The following commands were able to be executed by the Command Language Interpreter: copy detab expand charcount entab translit linecount overstrike quit wordcount compress Most of the commands read subsequent text from the terminal modifying it in one way or another. The commands we tried worked and would exit as expected, but when the CLI tried to read the next command the end-of-file condition would not be cleared and the CLI would abort with an unhandled exception "END_ERROR". COMMENT ------- The CLI is not a generalized command language interpreter. Rather it provides a framework upon which to build a more general CLI.