Operator Overloading as a DSL Parsing Mechanism
Autor(a) principal: | |
---|---|
Data de Publicação: | 2021 |
Outros Autores: | |
Idioma: | eng |
Título da fonte: | Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) |
Texto Completo: | http://hdl.handle.net/11110/2120 |
Resumo: | This chapter describes an approach for the implementation of embedded domainspecific languages by using operator overloads and the creation of abstract syntax trees in run-time. Using the host language parser, an AST is created stating the structure of the DSL expression that is later analyzed, simplified, and optimized before the evaluation step. For the illustration of this process, the chapter proposes a domain-specific language for a basic linear algebra system dealing with matrices algebra and its optimization. |
id |
RCAP_c1b1009b3d397e4c6a9448b8e931734c |
---|---|
oai_identifier_str |
oai:ciencipca.ipca.pt:11110/2120 |
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 |
Operator Overloading as a DSL Parsing MechanismDomain Specific LanguagesOperator OverloadingThis chapter describes an approach for the implementation of embedded domainspecific languages by using operator overloads and the creation of abstract syntax trees in run-time. Using the host language parser, an AST is created stating the structure of the DSL expression that is later analyzed, simplified, and optimized before the evaluation step. For the illustration of this process, the chapter proposes a domain-specific language for a basic linear algebra system dealing with matrices algebra and its optimization.2021-03-31T13:49:07Z2021-03-31T13:49:07Z2021-03-31T00:00:00Zbook partinfo:eu-repo/semantics/publishedVersionhttp://hdl.handle.net/11110/2120oai:ciencipca.ipca.pt:11110/2120enghttps://doi.org/10.4018/978-1-5225-7455-2.ch008http://hdl.handle.net/11110/2120Simões, AlbertoCosta Meira, Rui Miguelinfo: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:RCAAP2022-09-05T12:53:25Zoai:ciencipca.ipca.pt:11110/2120Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T10:03:46.351994Repositó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 |
Operator Overloading as a DSL Parsing Mechanism |
title |
Operator Overloading as a DSL Parsing Mechanism |
spellingShingle |
Operator Overloading as a DSL Parsing Mechanism Simões, Alberto Domain Specific Languages Operator Overloading |
title_short |
Operator Overloading as a DSL Parsing Mechanism |
title_full |
Operator Overloading as a DSL Parsing Mechanism |
title_fullStr |
Operator Overloading as a DSL Parsing Mechanism |
title_full_unstemmed |
Operator Overloading as a DSL Parsing Mechanism |
title_sort |
Operator Overloading as a DSL Parsing Mechanism |
author |
Simões, Alberto |
author_facet |
Simões, Alberto Costa Meira, Rui Miguel |
author_role |
author |
author2 |
Costa Meira, Rui Miguel |
author2_role |
author |
dc.contributor.author.fl_str_mv |
Simões, Alberto Costa Meira, Rui Miguel |
dc.subject.por.fl_str_mv |
Domain Specific Languages Operator Overloading |
topic |
Domain Specific Languages Operator Overloading |
description |
This chapter describes an approach for the implementation of embedded domainspecific languages by using operator overloads and the creation of abstract syntax trees in run-time. Using the host language parser, an AST is created stating the structure of the DSL expression that is later analyzed, simplified, and optimized before the evaluation step. For the illustration of this process, the chapter proposes a domain-specific language for a basic linear algebra system dealing with matrices algebra and its optimization. |
publishDate |
2021 |
dc.date.none.fl_str_mv |
2021-03-31T13:49:07Z 2021-03-31T13:49:07Z 2021-03-31T00:00:00Z |
dc.type.driver.fl_str_mv |
book part |
dc.type.status.fl_str_mv |
info:eu-repo/semantics/publishedVersion |
status_str |
publishedVersion |
dc.identifier.uri.fl_str_mv |
http://hdl.handle.net/11110/2120 oai:ciencipca.ipca.pt:11110/2120 |
url |
http://hdl.handle.net/11110/2120 |
identifier_str_mv |
oai:ciencipca.ipca.pt:11110/2120 |
dc.language.iso.fl_str_mv |
eng |
language |
eng |
dc.relation.none.fl_str_mv |
https://doi.org/10.4018/978-1-5225-7455-2.ch008 http://hdl.handle.net/11110/2120 |
dc.rights.driver.fl_str_mv |
info:eu-repo/semantics/openAccess |
eu_rights_str_mv |
openAccess |
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_ |
1833590432004571136 |