Specifying a Domain Speciﬁc Language for Simplifying the Authoring of Digital TV Applications
ResumoThe 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 speciﬁc 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 scientiﬁc initiation research also proposes the development of a compiler, which generates the ﬁnal NCL document from a sNCL document. This compiler will be implemented in Lua with LPeg library, generating a symbol table, where each table identiﬁer corresponds to a diﬀerent identiﬁer of the XML elements to be generated in the ﬁnal document. The compiler development process will be guided by Test Driven Development (TDD), which ensures a lower probability of errors.
TERÇAS, Lucas de Macedo ; MORAES, Daniel de S.; SOARES NETO, Carlos de Salles. Specifying a Domain Speciﬁc 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.