DocumentCode :
2043063
Title :
An architecture for context-sensitive formatting
Author :
van den Brand, M.G.J. ; Kooiker, A.T. ; Vinju, J.J. ; Veerman, N.P.
Author_Institution :
Centrum voor Wiskunde en Inf., Amsterdam, Netherlands
fYear :
2005
fDate :
26-29 Sept. 2005
Firstpage :
631
Lastpage :
634
Abstract :
We have taken a fixed set of formatting requirements for a Cobol system as spelled out in a standardization document, and applied generic formatting technology to implement them. It appeared that corporate conventions can dictate alignment that crosscuts the logical structure of a program, and can even dictate indentation that is dynamically computed from context information. We have developed and implemented a formatting architecture that allows arbitrary computational power for mapping language constructs to the Box language. The enabling feature is a hybrid format that merges Box expressions with parse trees. Much of the boilerplate part of formatting can still be automated by a default mapping to Box. Absolute tab stops, an important feature which is not found in many Box back-ends, is used extensively in our case study.
Keywords :
COBOL; software architecture; software maintenance; Box back-end; Box expression; Box language; Cobol system; absolute tab stop; context-sensitive formatting architecture; formatting requirements; mapping language construct; parse tree; program logical structure; Code standards; Computer architecture; Computer industry; Computer science; Contracts; Domain specific languages; Power generation economics; Productivity; Programming profession; Software standards;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance, 2005. ICSM'05. Proceedings of the 21st IEEE International Conference on
ISSN :
1063-6773
Print_ISBN :
0-7695-2368-4
Type :
conf
DOI :
10.1109/ICSM.2005.17
Filename :
1510161
Link To Document :
بازگشت