Specifying a Domain Specific Language for Simplifying the Authoring of Digital TV Applications

  • Lucas de Macedo Terças UFMA
  • Daniel de S. Moraes UFMA
  • Carlos de Salles Soares Neto UFMA


The Brazilian Terrestrial Digital TV System (SBTVD-T) uses the NCL language for multimedia application’s authoring. Although such language has been designed to be easy to understand by producers of such applications, the fact of being XML based introduces a reasonable level of verbosity, which hinders or delays more experienced software developers. This paper proposes sNCL (simpler NCL) a domain specific language (DSL) focused on the reduction of verbosity in the construction of NCL documents. The sNCL approach does not act as a replacement to the use of NCL, but facilitates its use. Therefore, this scientific initiation research also proposes the development of a compiler, which generates the final NCL document from a sNCL document. This compiler will be implemented in Lua with LPeg library, generating a symbol table, where each table identifier corresponds to a different identifier of the XML elements to be generated in the final document. The compiler development process will be guided by Test Driven Development (TDD), which ensures a lower probability of errors.
Como Citar

Selecione um Formato
TERÇAS, Lucas de Macedo ; MORAES, Daniel de S.; SOARES NETO, Carlos de Salles. Specifying a Domain Specific Language for Simplifying the Authoring of Digital TV Applications. In: WORKSHOP DE TRABALHOS DE INICIAÇÃO CIENTÍFICA - SIMPÓSIO BRASILEIRO DE SISTEMAS MULTIMÍDIA E WEB (WEBMEDIA) , 2016, Teresina. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2016 . p. 77-80. ISSN 2596-1683.