Automatic conversion of ADA source code to scala

Detalhes bibliográficos
Autor(a) principal: Espada, Guilherme Jorge Nunes Monteiro
Data de Publicação: 2020
Tipo de documento: Dissertação
Idioma: eng
Título da fonte: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Texto Completo: http://hdl.handle.net/10451/48217
Resumo: Tese de mestrado, Engenharia Informática (Arquitetura, Sistemas e Redes de Computadores) Universidade de Lisboa, Faculdade de Ciências, 2020
id RCAP_d213140af7a07001915c5fc8ab0ebeca
oai_identifier_str oai:repositorio.ulisboa.pt:10451/48217
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 Automatic conversion of ADA source code to scalaCompiladoresLinguagens de ProgramaçãoConcurrenciaEngenharia de SoftwareConfiabilidade de SoftwareTeses de mestrado - 2020Departamento de InformáticaTese de mestrado, Engenharia Informática (Arquitetura, Sistemas e Redes de Computadores) Universidade de Lisboa, Faculdade de Ciências, 2020When the popularity of a programming language declines, there are often sizeable existing legacy codebases that need to be modernized. However, migrating off of these legacy languages is very costly. In addition, these declining languages do not necessarily have the same feature set as a modern language. As such, there are often specific features only present in the legacy language, which are useful for a variety of applications, making it hard for modern languages to penetrate these domains. This thesis presents a study of how these advanced features in legacy programming languages can be implemented in modern languages. As a use case, we will consider Ada, a language which is declining in popularity, and we evaluate which modern languages can adequately express Ada’s features. We select Scala as the most suitable language, due to its advanced type system, macro capabilities, implicit functions and constructors, and operator overloading. In addition, we present a set of translation rules from Ada to Scala, which was implemented in an automatic translation tool. Previous work on this domain tends to focus either on semantic correctness or on readability, eschewing one for the other, rather than tackling both at the same time. However, by carefully picking a target language with enough features that lend themselves for this kind of translation, we achieve a result that preserves both semantics and similarity, while maintaining an acceptable level of readability. We expect that this result to reduce the time and monetary cost of migrating off these legacy platforms, thereby making automated conversion of large software systems more viable.Fonseca, Alcides Miguel Cachulo AguiarRepositório da Universidade de LisboaEspada, Guilherme Jorge Nunes Monteiro2021-05-27T17:12:18Z202020202020-01-01T00:00:00Zinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisapplication/pdfhttp://hdl.handle.net/10451/48217TID:202605469enginfo: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:RCAAP2025-03-17T14:34:12Zoai:repositorio.ulisboa.pt:10451/48217Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-29T03:15:40.994238Repositó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 Automatic conversion of ADA source code to scala
title Automatic conversion of ADA source code to scala
spellingShingle Automatic conversion of ADA source code to scala
Espada, Guilherme Jorge Nunes Monteiro
Compiladores
Linguagens de Programação
Concurrencia
Engenharia de Software
Confiabilidade de Software
Teses de mestrado - 2020
Departamento de Informática
title_short Automatic conversion of ADA source code to scala
title_full Automatic conversion of ADA source code to scala
title_fullStr Automatic conversion of ADA source code to scala
title_full_unstemmed Automatic conversion of ADA source code to scala
title_sort Automatic conversion of ADA source code to scala
author Espada, Guilherme Jorge Nunes Monteiro
author_facet Espada, Guilherme Jorge Nunes Monteiro
author_role author
dc.contributor.none.fl_str_mv Fonseca, Alcides Miguel Cachulo Aguiar
Repositório da Universidade de Lisboa
dc.contributor.author.fl_str_mv Espada, Guilherme Jorge Nunes Monteiro
dc.subject.por.fl_str_mv Compiladores
Linguagens de Programação
Concurrencia
Engenharia de Software
Confiabilidade de Software
Teses de mestrado - 2020
Departamento de Informática
topic Compiladores
Linguagens de Programação
Concurrencia
Engenharia de Software
Confiabilidade de Software
Teses de mestrado - 2020
Departamento de Informática
description Tese de mestrado, Engenharia Informática (Arquitetura, Sistemas e Redes de Computadores) Universidade de Lisboa, Faculdade de Ciências, 2020
publishDate 2020
dc.date.none.fl_str_mv 2020
2020
2020-01-01T00:00:00Z
2021-05-27T17:12:18Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/10451/48217
TID:202605469
url http://hdl.handle.net/10451/48217
identifier_str_mv TID:202605469
dc.language.iso.fl_str_mv eng
language eng
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.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_ 1833601644107923456