Skip to main content
QUICK REVIEW

[Paper Review] Software (Re-)Engineering with PSF III: an IDE for PSF

Bob Diertens|ArXiv.org|Dec 19, 2007
Formal Methods in VerificationComputer Science21 references5 citations
TL;DR

This paper presents an integrated development environment (IDE) for the Process Specification Formalism (PSF) built using process algebra and the ToolBus coordination architecture. It employs PSF to specify the IDE's architecture and refine it into a ToolBus application, enabling seamless integration of existing PSF Toolkit tools via a generated script and a custom GUI that aggregates component interfaces without modifying the tools.

ABSTRACT

We describe the design of an integrated development environment (IDE) for PSF. In the software engineering process we used process algebra in the form of PSF for the specification of the architecture of the IDE. This specification is refined to a PSF specification of the IDE system as a ToolBus application, by applying vertical and horizontal implementation techniques. We implemented the various tools as specified and connected them with a ToolBus script extracted from the system specification.

Motivation & Objective

  • To design and implement a PSF-specific IDE that supports interactive software engineering using formal methods.
  • To demonstrate the feasibility of using process algebra (PSF) for specifying and refining software architecture in a systematic way.
  • To integrate existing PSF Toolkit tools into a cohesive IDE environment with minimal modifications.
  • To develop a unified GUI that aggregates individual tool interfaces while preserving modularity and extensibility.

Proposed method

  • Specifying the IDE's architecture using PSF primitives for communication (snd/rec) and component encapsulation.
  • Applying vertical and horizontal refinement techniques to transform the architectural specification into a ToolBus application specification.
  • Extracting a ToolBus script manually from the refined specification to coordinate tool interactions.
  • Implementing each IDE component (editor manager, compiler, error viewer, simulator, animation generator) as a standalone tool using existing PSF Toolkit components.
  • Developing a custom GUI tool in Tcl/Tk to aggregate and layout component windows using container and paned window mechanisms.
  • Initializing the ToolBus script with container window identifiers to enable proper window hierarchy and inter-tool communication.

Experimental results

Research questions

  • RQ1Can process algebra (PSF) effectively support the specification and refinement of a complex IDE architecture?
  • RQ2To what extent can existing PSF Toolkit tools be reused in a new IDE with minimal modification?
  • RQ3How can a unified GUI be constructed to integrate multiple independent tool interfaces without altering their behavior?
  • RQ4What are the practical benefits of using a coordination architecture like ToolBus in building extensible IDEs?
  • RQ5Can simulation and animation of PSF specifications enhance design validation and stakeholder communication in IDE development?

Key findings

  • The use of PSF enabled a formal, simulation-capable specification of the IDE's architecture, supporting early validation and refinement.
  • The ToolBus script, derived from the PSF specification, successfully coordinated the interaction between the IDE's components without requiring changes to the underlying tools.
  • The editor manager component allowed seamless integration of external editors (e.g., Emacs, Vim) without modifying their interfaces, enhancing user flexibility.
  • The compiler component was implemented in Perl and included a pre-parser check to enforce module-file consistency, avoiding changes to the original parser.
  • The error viewer and simulator were implemented as lightweight wrappers in Tcl/Tk, preserving the original tool functionality while adding GUI integration.
  • The aggregated GUI, built using Tcl/Tk's container and paned window features, provided a cohesive interface that supported dynamic resizing and modular layout, improving usability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.