PFTL: a systematic approach for describing filesystem tree processors

Bibliographic Details
Main Author: Carvalho, Nuno Ramos
Publication Date: 2011
Other Authors: Simões, Alberto, Almeida, José João, Henriques, Pedro Rangel, Pereira, Maria João
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: http://hdl.handle.net/10198/6309
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_d371d3b77f971c20c6416baaeb367f4d
oai_identifier_str oai:bibliotecadigital.ipb.pt:10198/6309
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 processorsGrammatical approachesDirectory treesToday, 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.Biblioteca Digital do IPBCarvalho, Nuno RamosSimões, AlbertoAlmeida, José JoãoHenriques, Pedro RangelPereira, Maria João2011-11-11T16:09:59Z20112011-01-01T00:00:00Zconference objectinfo:eu-repo/semantics/publishedVersionapplication/pdfhttp://hdl.handle.net/10198/6309engCarvalho, Nuno; Simões, Alberto; Almeida, João; Henriques, Pedro; Pereira, Maria João (2011). PFTL: a systematic approach for describing file system tree processors. In INForum'11 --- Simpósio de Informática (CoRTA'11 track). Universidade de Coimbrainfo: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-02-25T11:58:35Zoai:bibliotecadigital.ipb.pt:10198/6309Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T11:21:57.045330Repositó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 Ramos
Grammatical approaches
Directory trees
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 Ramos
author_facet Carvalho, Nuno Ramos
Simões, Alberto
Almeida, José João
Henriques, Pedro Rangel
Pereira, Maria João
author_role author
author2 Simões, Alberto
Almeida, José João
Henriques, Pedro Rangel
Pereira, Maria João
author2_role author
author
author
author
dc.contributor.none.fl_str_mv Biblioteca Digital do IPB
dc.contributor.author.fl_str_mv Carvalho, Nuno Ramos
Simões, Alberto
Almeida, José João
Henriques, Pedro Rangel
Pereira, Maria João
dc.subject.por.fl_str_mv Grammatical approaches
Directory trees
topic Grammatical approaches
Directory trees
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-11-11T16:09:59Z
2011
2011-01-01T00:00:00Z
dc.type.driver.fl_str_mv conference object
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/10198/6309
url http://hdl.handle.net/10198/6309
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv Carvalho, Nuno; Simões, Alberto; Almeida, João; Henriques, Pedro; Pereira, Maria João (2011). PFTL: a systematic approach for describing file system tree processors. In INForum'11 --- Simpósio de Informática (CoRTA'11 track). Universidade de Coimbra
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_ 1833591841505673216