Utilize este identificador para referenciar este registo: https://hdl.handle.net/1822/68608

Registo completo
Campo DCValorIdioma
dc.contributor.authorMacedo, José Nunopor
dc.contributor.authorSaraiva, Joãopor
dc.date.accessioned2020-12-18T17:57:03Z-
dc.date.available2020-12-18T17:57:03Z-
dc.date.issued2020-
dc.identifier.citationMacedo J.N., Saraiva J. (2020) InDubio: A Combinator Library to Disambiguate Ambiguous Grammars. In: Gervasi O. et al. (eds) Computational Science and Its Applications – ICCSA 2020. ICCSA 2020. Lecture Notes in Computer Science, vol 12252. Springer, Cham. https://doi.org/10.1007/978-3-030-58811-3_71por
dc.identifier.isbn978-3-030-58810-6-
dc.identifier.issn0302-9743-
dc.identifier.urihttps://hdl.handle.net/1822/68608-
dc.descriptionFirst Online: 29 September 2020por
dc.description.abstractTo infer an abstract model from source code is one of the main tasks of most software quality analysis methods. Such abstract model is called Abstract Syntax Tree and the inference task is called parsing. A parser is usually generated from a grammar specification of a (programming) language and it converts source code of that language into said abstract tree representation. Then, several techniques traverse this tree to assess the quality of the code (for example by computing source code metrics), or by building new data structures (e.g, flow graphs) to perform further analysis (such as, code cloning, dead code, etc). Parsing is a well established technique. In recent years, however, modern languages are inherently ambiguous which can only be fully handled by ambiguous grammars. In this setting disambiguation rules, which are usually included as part of the grammar specification of the ambiguous language, need to be defined. This approach has a severe limitation: disambiguation rules are not first class citizens. Parser generators offer a small set of rules that can not be extended or changed. Thus, grammar writers are not able to manipulate nor define a new specific rule that the language he is considering requires. In this paper we present a tool, name InDubio, that consists of an extensible combinator library of disambiguation filters together with a generalized parser generator for ambiguous grammars. InDubio defines a set of basic disambiguation rules as abstract syntax tree filters that can be combined into more powerful rules. Moreover, the filters are independent of the parser generator and parsing technology, and consequently, they can be easily extended and manipulated. This paper presents InDubio in detail and also presents our first experimental results.por
dc.description.sponsorship- (undefined)por
dc.language.isoengpor
dc.publisherSpringerpor
dc.rightsopenAccesspor
dc.subjectCombinatorspor
dc.subjectDisambiguation filterspor
dc.subjectParsingpor
dc.titleInDubio: a combinator library to disambiguate ambiguous grammarspor
dc.typeconferencePaperpor
dc.peerreviewedyespor
dc.relation.publisherversionhttps://link.springer.com/chapter/10.1007%2F978-3-030-58811-3_71por
oaire.citationStartPage1002por
oaire.citationEndPage1018por
oaire.citationVolume12252 LNCSpor
dc.date.updated2020-12-18T17:44:52Z-
dc.identifier.doi10.1007/978-3-030-58811-3_71por
dc.identifier.eisbn978-3-030-58811-3-
dc.subject.wosScience & Technologypor
sdum.export.identifier7612-
sdum.journalLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)por
sdum.conferencePublicationCOMPUTATIONAL SCIENCE AND ITS APPLICATIONS, ICCSA 2020, PART IVpor
oaire.versionAMpor
Aparece nas coleções:HASLab - Artigos em atas de conferências internacionais (texto completo)

Ficheiros deste registo:
Ficheiro Descrição TamanhoFormato 
paper.pdf385,31 kBAdobe PDFVer/Abrir

Partilhe no FacebookPartilhe no TwitterPartilhe no DeliciousPartilhe no LinkedInPartilhe no DiggAdicionar ao Google BookmarksPartilhe no MySpacePartilhe no Orkut
Exporte no formato BibTex mendeley Exporte no formato Endnote Adicione ao seu ORCID