Zurück zur Übersicht

Parsing for agile modeling

Publikationsart Peer-reviewed
Publikationsform Originalbeitrag (peer-reviewed)
Publikationsdatum 2015
Projekt Agile Software Assessment
Alle Daten anzeigen

Originalbeitrag (peer-reviewed)

Zeitschrift Science of Computer Programming
Volume (Issue) 97, Part 1(0)
Seite(n) 150 - 156
Titel der Proceedings Science of Computer Programming
DOI 10.1016/j.scico.2013.11.011


Abstract In order to analyze software systems, it is necessary to model them. Static software models are commonly imported by parsing source code and related data. Unfortunately, building custom parsers for most programming languages is a non-trivial endeavour. This poses a major bottleneck for analyzing software systems programmed in languages for which importers do not already exist. Luckily, initial software models do not require detailed parsers, so it is possible to start analysis with a coarse-grained importer, which is then gradually refined. In this paper we propose an approach to "agile modeling" that exploits island grammars to extract initial coarse-grained models, parser combinators to enable gradual refinement of model importers, and various heuristics to recognize language structure, keywords and other language artifacts.