Return to search

[en] ELIMINATING REDUNDANCIES FROM NCL EDTV PROFILE / [pt] ELIMINANDO REDUNDÂNCIAS NO PERFIL NCL EDTV

[pt] A implementação de uma máquina de apresentação NCL, ou formatador, e
uma tarefa complexa. Essa complexidade decorre, principalmente, da distância
semântica que existe entre os documentos NCL, especificações declarativas
de alto-nível, e as API que o formatador utiliza para apresentá-los, em geral
imperativas e de baixo-nível. Quanto maior a distância, maior a complexidade
do mapeamento e, consequentemente, da sua implementação que tende a ser
ineciente e não-confiável. Este trabalho apresenta um novo perfil para a linguagem
NCL, chamado NCL Raw, que elimina as redundâncias do EDTV |
o principal perfil da NCL 3.0 | e, de certa forma, aproxima os documentos da
máquina. O perfil Raw captura apenas os conceitos essenciais do EDTV que
por sua vez podem ser usados para simular a linguagem completa. Ou seja,
podemos usar o Raw como uma linguagem intermediária mais simples para
a qual documentos EDTV podem ser convertidos antes de serem apresentados.
Esta dissertação discute as possíveis arquiteturas para conversores NCL
e apresenta uma implementacão de um conversor de documentos (EDTV para
Raw). / [en] The implementation of a NCL presentation engine, or formatter, is a complex
task. This complexity is mainly due to the semantic distance between
NCL documents, high-level declarative specifications, and the API used by
the formatter to present them, in most cases low-level and imperative. The
greater the distance, the greater is the complexity of this mapping and, consequently,
of its implementation, which is more likely to become ineficient and
bug-prone. This work presents a new NCL profile, called NCL Raw, which
eliminates most of the redundancies present in EDTV | the main profile of
NCL 3.0 | and, in a certain way, reduces the distance between the documents
and the machine. Raw profile captures only EDTV s essential concepts, which
in turn can be used to simulate the whole language defined by EDTV itself.
In other words, we can use the Raw profile as a simpler intermediate language
to which EDTV documents can be converted before being presented. This dissertation
discusses alternative architectures for NCL converters and presents
the implementation of a document converter (from EDTV to Raw).

Identiferoai:union.ndltd.org:puc-rio.br/oai:MAXWELL.puc-rio.br:18585
Date26 October 2011
CreatorsGUILHERME AUGUSTO FERREIRA LIMA
ContributorsLUIZ FERNANDO GOMES SOARES
PublisherMAXWELL
Source SetsPUC Rio
LanguagePortuguese
Detected LanguagePortuguese
TypeTEXTO

Page generated in 0.0022 seconds