Certified virtual machine-based regular expression parsing.
dc.contributor.advisor | Ribeiro, Rodrigo Geraldo | pt_BR |
dc.contributor.author | Delfino, Thales Antônio | |
dc.contributor.referee | Ribeiro, Rodrigo Geraldo | pt_BR |
dc.contributor.referee | Malaquias, José Romildo | pt_BR |
dc.contributor.referee | Reis, Leonardo Vieira dos Santos | pt_BR |
dc.date.accessioned | 2020-07-27T14:20:34Z | |
dc.date.available | 2020-07-27T14:20:34Z | |
dc.date.issued | 2019 | |
dc.description | Programa de Pós-Graduação em Ciência da Computação. Departamento de Ciência da Computação, Instituto de Ciências Exatas e Biológicas, Universidade Federal de Ouro Preto. | pt_BR |
dc.description.abstract | Regular expressions (REs) are pervasive in computing. We use REs in text editors, string search tools (like GNU-Grep) and lexical analyzers generators. Most of these tools rely on converting REs to its corresponding finite state machine or use REs derivatives for directly parse an input string. In this work, we investigated the suitability of another approach: instead of using derivatives or generating a finite state machine for a given RE, we developed a certified virtual machine-based algorithm (VM) for parsing REs, in such a way that a RE is merely a program executed by the VM over the input string. First, we developed a small-step operational semantics for the algorithm, implemented it in Haskell, tested it using QuickCheck and provided proof sketches of its correctness with respect to RE standard inductive semantics. After that, we developed a big-step operational semantics, an evolution of the small-step one. Unlike the small-step, the bigstep semantics can deal with problematic REs. We showed that the big-step semantics for our VM is also sound and complete with regard to a standard inductive semantics for REs and that the evidence produced by it denotes a valid parsing result. All of our results regarding the big-step semantics are formalized in Coq proof assistant and, from it, we extracted a certified algorithm, which we used to build a RE parsing tool using Haskell programming language. Experiments comparing the efficiency of our algorithm with another Haskell tool are reported. | pt_BR |
dc.identifier.citation | DELFINO, Thales Antônio. Certified virtual machine-based regular expression parsing. 2019. 69 f. Dissertação (Mestrado em Ciência da Computação) - Instituto de Ciências Exatas e Biológicas, Universidade Federal de Ouro Preto, Ouro Preto, 2019. | pt_BR |
dc.identifier.uri | http://www.repositorio.ufop.br/handle/123456789/12512 | |
dc.language.iso | en_US | pt_BR |
dc.rights | aberto | pt_BR |
dc.rights.license | Autorização concedida ao Repositório Institucional da UFOP pelo(a) autor(a) em 25/06/2019 com as seguintes condições: disponível sob Licença Creative Commons 4.0 que permite copiar, distribuir e transmitir o trabalho desde que sejam citados o autor e o licenciante. Não permite o uso para fins comerciais nem a adaptação. | pt_BR |
dc.subject | VM/CMS - sistema operacional de computador | pt_BR |
dc.subject | Análise de redes | pt_BR |
dc.subject | Certificado digital | pt_BR |
dc.subject | Algoritmos | pt_BR |
dc.title | Certified virtual machine-based regular expression parsing. | pt_BR |
dc.type | Dissertacao | pt_BR |
Arquivos
Pacote original
1 - 1 de 1
Nenhuma Miniatura Disponível
- Nome:
- DISSERTAÇÃO_CertifiedVirtualMachine.pdf
- Tamanho:
- 1.19 MB
- Formato:
- Adobe Portable Document Format
Licença do pacote
1 - 1 de 1
Nenhuma Miniatura Disponível
- Nome:
- license.txt
- Tamanho:
- 924 B
- Formato:
- Item-specific license agreed upon to submission
- Descrição: