Generating flex lexical scanners for perl parse:: Yapp

Bibliographic Details
Main Author: Simões, Alberto
Publication Date: 2012
Other Authors: Carvalho, Nuno, Almeida, J. J.
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: http://hdl.handle.net/1822/23572
Summary: Perl is known for its versatile regular expressions. Nevertheless, using Perl regular expressions for creating fast lexical analyzer is not easy. As an alternative, the authors defend the automated generation of the lexical analyzer in a well known fast application (flex) based on a simple Perl definition in the syntactic analyzer. In this paper we extend the syntax used by Parse::Yapp, one of the most used parser generators for Perl, making the automatic generation of flex lexical scanners possible. We explain how this is performed and conclude with some benchmarks that show the relevance of the approach.
id RCAP_34090ab6bd5879b6517b2601606a8edc
oai_identifier_str oai:repositorium.sdum.uminho.pt:1822/23572
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling Generating flex lexical scanners for perl parse:: YappParsingPerlPerl is known for its versatile regular expressions. Nevertheless, using Perl regular expressions for creating fast lexical analyzer is not easy. As an alternative, the authors defend the automated generation of the lexical analyzer in a well known fast application (flex) based on a simple Perl definition in the syntactic analyzer. In this paper we extend the syntax used by Parse::Yapp, one of the most used parser generators for Perl, making the automatic generation of flex lexical scanners possible. We explain how this is performed and conclude with some benchmarks that show the relevance of the approach.Schloss Dagstuhl – Leibniz-Zentrum für Informatik GmbHUniversidade do MinhoSimões, AlbertoCarvalho, NunoAlmeida, J. J.2012-062012-06-01T00:00:00Zconference paperinfo:eu-repo/semantics/publishedVersionapplication/pdfhttp://hdl.handle.net/1822/23572eng2190-680710.4230/OASIcs.SLATE.2012.41http://dx.doi.org/10.4230/OASIcs.SLATE.2012.41info:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2024-05-11T05:58:19Zoai:repositorium.sdum.uminho.pt:1822/23572Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T15:36:38.517430Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv Generating flex lexical scanners for perl parse:: Yapp
title Generating flex lexical scanners for perl parse:: Yapp
spellingShingle Generating flex lexical scanners for perl parse:: Yapp
Simões, Alberto
Parsing
Perl
title_short Generating flex lexical scanners for perl parse:: Yapp
title_full Generating flex lexical scanners for perl parse:: Yapp
title_fullStr Generating flex lexical scanners for perl parse:: Yapp
title_full_unstemmed Generating flex lexical scanners for perl parse:: Yapp
title_sort Generating flex lexical scanners for perl parse:: Yapp
author Simões, Alberto
author_facet Simões, Alberto
Carvalho, Nuno
Almeida, J. J.
author_role author
author2 Carvalho, Nuno
Almeida, J. J.
author2_role author
author
dc.contributor.none.fl_str_mv Universidade do Minho
dc.contributor.author.fl_str_mv Simões, Alberto
Carvalho, Nuno
Almeida, J. J.
dc.subject.por.fl_str_mv Parsing
Perl
topic Parsing
Perl
description Perl is known for its versatile regular expressions. Nevertheless, using Perl regular expressions for creating fast lexical analyzer is not easy. As an alternative, the authors defend the automated generation of the lexical analyzer in a well known fast application (flex) based on a simple Perl definition in the syntactic analyzer. In this paper we extend the syntax used by Parse::Yapp, one of the most used parser generators for Perl, making the automatic generation of flex lexical scanners possible. We explain how this is performed and conclude with some benchmarks that show the relevance of the approach.
publishDate 2012
dc.date.none.fl_str_mv 2012-06
2012-06-01T00:00:00Z
dc.type.driver.fl_str_mv conference paper
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/1822/23572
url http://hdl.handle.net/1822/23572
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv 2190-6807
10.4230/OASIcs.SLATE.2012.41
http://dx.doi.org/10.4230/OASIcs.SLATE.2012.41
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Schloss Dagstuhl – Leibniz-Zentrum für Informatik GmbH
publisher.none.fl_str_mv Schloss Dagstuhl – Leibniz-Zentrum für Informatik GmbH
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833595422412636160