C e n t r u m v o o r W i s k u n d e e n I n f o r m a t i c a
Software ENgineeringA language independent framework for context-sensitive formatting M.G.J. van den Brand, A.T. Kooiker, J.J. Vinju, N.P. Veerman A language independent framework for contextsensitive formatting ABSTRACT Automated formatting is an important technique for the software maintainer. It is either applied separately to improve the readability of source code, or as part of a source code transformation tool chain. In this paper we report on the application of generic tools for constructing formatters. In an industrial setting automated formatters need to be tailored to the requirements of the customer. The (legacy) programming language or dialect and the corporate formatting conventions are specific and non-negotiable. Can generic formatting tools deal with such unexpected requirements? Driven by an industrial case of nearly 80 thousand lines of Cobol code, several limitations in existing formatting technology have been addressed. We improved its flexibility by replacing a generative phase by a generic tool, and we added a little expressiveness to the formatting back end. Most importantly, we employed a multi-stage formatting framework that can cope with any kind of formatting convention using more computational power.
REPORT SEN-R0601 JANUARY 2006
SEN
Software Engineering
ACM Computing Classification
C e n t r u m v o o r W i s k u n d e e n I n f o r m a t i c aA Language Development Environment for Eclipse ABSTRACT The Asf+Sdf Meta-Environment provides a collection of tools for the generation of programming environments. We show how Eclipse can be extended with these generic language tools. By integrating the GUI and text editor of the Meta-Environment with Eclipse using ToolBus technology, we demonstrate the integration of third party, non-Java, software in Eclipse. By doing so, we create an experimentation framework for further programming language research. We describe our experiences and sketch future work.
AbstractThe ASF+SDF Meta-Environment provides a collection of tools for the generation of programming environments. We show how Eclipse can be extended with these generic language tools. By integrating the GUI and text editor of the MetaEnvironment with Eclipse using TOOLBUS technology, we demonstrate the integration of third party, non-Java, software in Eclipse. By doing so, we create an experimentation framework for further programming language research. We describe our experiences and sketch future work.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.