Title :
Support for modular parsing in software reengineering
Author :
Peake, Ian ; Salzman, Eric
Author_Institution :
Centre for Software Maintenance, Univ. of Queensland, Qld., Australia
Abstract :
As reengineering increasingly contributes to software engineering, so can software engineering principles contribute to cost-effective reengineering tool development. The cost of modelling languages motivates support for modular parsers which can, like program modules, be assembled cheaply from smaller, tested components. We describe a scheme which achieves this by extending the expressive and flexible combinator parsing scheme using object-oriented constructs (class inheritance and dynamic method dispatch). Related schemes either do not fully support code sharing or sacrifice flexibility. The scheme has been implemented in a prototype reengineering environment and successfully tested on grammars such as Modula-2. The generation time for extensions is linear in the size of the extension. The run-time performance is potentially as bad as for general parsing algorithms, but can be linear (10 times slower than LALR for Modula-2) after optimization
Keywords :
Modula; computer aided software engineering; grammars; inheritance; object-oriented programming; software performance evaluation; software tools; systems re-engineering; Modula-2; class inheritance; code sharing; combinator parsing scheme; cost-effective reengineering tool development; dynamic method dispatch; expressiveness; extension generation time; flexibility; grammars; modelling languages; modular parsing; object-oriented constructs; optimization; prototype reengineering environment; run-time performance; software engineering principles; software reengineering; Assembly; Australia; Costs; Information technology; Object oriented modeling; Production; Prototypes; Software engineering; Software maintenance; Testing;
Conference_Titel :
Software Technology and Engineering Practice, 1997. Proceedings., Eighth IEEE International Workshop on [incorporating Computer Aided Software Engineering]
Conference_Location :
London
Print_ISBN :
0-8186-7840-2
DOI :
10.1109/STEP.1997.615464