Refactoring Erlang programs

Lövei, L [Lövei, László (informatika), szerző] Programozási Nyelvek és Fordítóprogramok Tanszék (ELTE / IK); Horváth, Z [Horváth, Zoltán (Matematika-inform...), szerző] Programozási Nyelvek és Fordítóprogramok Tanszék (ELTE / IK); Kozsik, T [Kozsik, Tamás (Formális módszerek), szerző] Programozási Nyelvek és Fordítóprogramok Tanszék (ELTE / IK); Víg, A; Nagy, T

Angol nyelvű Tudományos Szakcikk (Folyóiratcikk)
  • SJR Scopus - Computer Networks and Communications: Q4
Azonosítók
Szakterületek:
    This paper presents the model, the design principles and the prototype of a refactoring toolset for Erlang programs. With this toolset one can incrementally carry out programmerguided meaning-preserving program transformations. Erlang is a mostly dynamically typed language, and many of its semantical rules are also dynamic. Therefore the main challenge in this research is to ensure the safety of (the statically performed) refactoring steps. The paper analyses the language constructs of Erlang with respect to refactoring. A novelty of the presented approach is that programs are represented, stored and manipulated in a relational database. This feature makes it possible to express refactoring steps in a fairly compact and comprehensible way. The proposed software development environment with the integrated refactoring tool provides multiple editing modes. These editing modes support changes ranging from fully controlled (allowing only meaning-preserving transformations) to uncontrolled (editing program text freely). Transformations are performed more safely and efficiently in an editing mode with higher control. © 2007 Periodica Polytechnica.
    Hivatkozás stílusok: IEEEACMAPAChicagoHarvardCSLMásolásNyomtatás
    2022-01-17 03:16