Export Ready — 

PFTL: a systematic approach for describing filesystem tree processors

Bibliographic Details
Main Author: Carvalho, Nuno
Publication Date: 2011
Other Authors: Simões, Alberto, Almeida, J. J., Henriques, Pedro Rangel
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: http://hdl.handle.net/1822/17081
Summary: Today, most developers prefer to store information in databases. But plain filesystems were used for years, and are still used, to store information, commonly in files of heterogeneous formats that are organized in directory trees. This approach is a very flexible and natural way to create hierarchical organized structures of documents. We can devise a formal notation to describe a filesystem tree structure, similar to a grammar, assuming that filenames can be considered terminal symbols, and directory names non-terminal symbols. This specification would allow to derive correct language sentences (combination of terminal symbols) and to associate semantic actions, that can produce arbitrary side effects, to each valid sentence, just as we do in common parser generation tools. These specifications can be used to systematically process files in directory trees, and the final result depends on the semantic actions associated with each production rule. In this paper we revamped an old idea of using a domain specific language to implement these specifications similar to context free grammars. And introduce some examples of applications that can be built using this approach.
id RCAP_9f6fa65a393763e15f8b923c9c3a7a0e
oai_identifier_str oai:repositorium.sdum.uminho.pt:1822/17081
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 PFTL: a systematic approach for describing filesystem tree processorsFilesystemGrammarDSLToday, most developers prefer to store information in databases. But plain filesystems were used for years, and are still used, to store information, commonly in files of heterogeneous formats that are organized in directory trees. This approach is a very flexible and natural way to create hierarchical organized structures of documents. We can devise a formal notation to describe a filesystem tree structure, similar to a grammar, assuming that filenames can be considered terminal symbols, and directory names non-terminal symbols. This specification would allow to derive correct language sentences (combination of terminal symbols) and to associate semantic actions, that can produce arbitrary side effects, to each valid sentence, just as we do in common parser generation tools. These specifications can be used to systematically process files in directory trees, and the final result depends on the semantic actions associated with each production rule. In this paper we revamped an old idea of using a domain specific language to implement these specifications similar to context free grammars. And introduce some examples of applications that can be built using this approach.Universidade de Coimbra. Faculdade de Ciências e Tecnologia. Departamento de Engenharia InformáticaUniversidade do MinhoCarvalho, NunoSimões, AlbertoAlmeida, J. J.Henriques, Pedro Rangel20112011-01-01T00:00:00Zconference paperinfo:eu-repo/semantics/publishedVersionapplication/pdfhttp://hdl.handle.net/1822/17081enginfo: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-11T07:08:24Zoai:repositorium.sdum.uminho.pt:1822/17081Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T16:16:51.390359Repositó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 PFTL: a systematic approach for describing filesystem tree processors
title PFTL: a systematic approach for describing filesystem tree processors
spellingShingle PFTL: a systematic approach for describing filesystem tree processors
Carvalho, Nuno
Filesystem
Grammar
DSL
title_short PFTL: a systematic approach for describing filesystem tree processors
title_full PFTL: a systematic approach for describing filesystem tree processors
title_fullStr PFTL: a systematic approach for describing filesystem tree processors
title_full_unstemmed PFTL: a systematic approach for describing filesystem tree processors
title_sort PFTL: a systematic approach for describing filesystem tree processors
author Carvalho, Nuno
author_facet Carvalho, Nuno
Simões, Alberto
Almeida, J. J.
Henriques, Pedro Rangel
author_role author
author2 Simões, Alberto
Almeida, J. J.
Henriques, Pedro Rangel
author2_role author
author
author
dc.contributor.none.fl_str_mv Universidade do Minho
dc.contributor.author.fl_str_mv Carvalho, Nuno
Simões, Alberto
Almeida, J. J.
Henriques, Pedro Rangel
dc.subject.por.fl_str_mv Filesystem
Grammar
DSL
topic Filesystem
Grammar
DSL
description Today, most developers prefer to store information in databases. But plain filesystems were used for years, and are still used, to store information, commonly in files of heterogeneous formats that are organized in directory trees. This approach is a very flexible and natural way to create hierarchical organized structures of documents. We can devise a formal notation to describe a filesystem tree structure, similar to a grammar, assuming that filenames can be considered terminal symbols, and directory names non-terminal symbols. This specification would allow to derive correct language sentences (combination of terminal symbols) and to associate semantic actions, that can produce arbitrary side effects, to each valid sentence, just as we do in common parser generation tools. These specifications can be used to systematically process files in directory trees, and the final result depends on the semantic actions associated with each production rule. In this paper we revamped an old idea of using a domain specific language to implement these specifications similar to context free grammars. And introduce some examples of applications that can be built using this approach.
publishDate 2011
dc.date.none.fl_str_mv 2011
2011-01-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/17081
url http://hdl.handle.net/1822/17081
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.publisher.none.fl_str_mv Universidade de Coimbra. Faculdade de Ciências e Tecnologia. Departamento de Engenharia Informática
publisher.none.fl_str_mv Universidade de Coimbra. Faculdade de Ciências e Tecnologia. Departamento de Engenharia Informática
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_ 1833595848983838720