Parsing Fortran-77 with proprietary extensions - Inria - Institut national de recherche en sciences et technologies du numérique
Pré-Publication, Document De Travail (Preprint/Prepublication) Année : 2023

Parsing Fortran-77 with proprietary extensions

Résumé

Far from the latest innovations in software development, many organizations still rely on old code written in "obsolete" programming languages. Because this source code is old and proven it often contributes significantly to the continuing success of these organizations. Yet to keep the applications relevant and running in an evolving environment, they sometimes need to be updated or migrated to new languages or new platforms. One difficulty of working with these "veteran languages" is being able to parse the source code to build a representation of it. Parsing can also allow modern software development tools and IDEs to offer better support to these veteran languages. We initiated a project between our group and the Framatome company to help migrate old Fortran-77 with proprietary extensions (called Esope) into more modern Fortran. In this paper, we explain how we parsed the Esope language with a combination of island grammar and regular parser to build an abstract syntax tree of the code.
Fichier principal
Vignette du fichier
main.pdf (213.21 Ko) Télécharger le fichier
Origine Fichiers éditeurs autorisés sur une archive ouverte

Dates et versions

hal-04205262 , version 1 (12-09-2023)

Identifiants

Citer

Younoussa Sow, Larisa Safina, Léandre Brault, Ibou Papa, Stéphane Ducasse, et al.. Parsing Fortran-77 with proprietary extensions. 2023. ⟨hal-04205262⟩
82 Consultations
196 Téléchargements

Altmetric

Partager

More