Communications of the ACM · 1966 · 63 citations · 1 references
ComputingComputer ScienceComputer SystemsAlgorithmsCompilersProgramming LanguagesCompiler ConstructionProgramming Language DesignProgramming Language ImplementationSpecification LanguagesText RepresentationType SystemsBoolean ExpressionsBoolean FunctionsCompiler DesignExecutable NotationMacro Systems
TRAC is a language and processing algorithm designed as the foundation of a reactive typewriter software package. TRAC extends the macro concept to character strings, enabling procedures to accept, name, store, modify, execute, or print strings, and supports iterative and recursive operations on strings, integers, and Boolean vectors.
A description of the TRAC (Text Reckoning And Compiling) language and processing algorithm is given. The TRAC language was developed as the basis of a software package for the reactive typewriter. In the TRAC language, one can write procedures for accepting, naming and storing any character string from the typewriter; for modifying any string in any way; for treating any string at any time as an executable procedure, or as a name, or as text; and for printing out any string. The TRAC language is based upon an extension and generalization to character strings of the programming concept of the “macro.” Through the ability of TRAC to accept and store definitions of procedures, the capabilities of the language can be indefinitely extended. TRAC can handle iterative and recursive procedures, and can deal with character strings, integers and Boolean vector variables.
1
A general purpose macrogenerator
C. Strachey · The Computer Journal · 1965 · 75 citations · Full text