Dynamic Integration of Foreign-Language Parsers into an NCL Player. Dodsworth, J. P, Terças, L. d. M., Guedes, A. L. V., Lima, G. F., Neto, C. d. S. S., & Colcher, S. In Proceedings of the 24st Brazilian Symposium on Multimedia and the Web, pages 8, 2018.
doi  abstract   bibtex   1 download  
We describe how we modified an NCL player to accept as input, in addition to NCL documents, Lua scripts. These Lua scripts evaluate to a table in a particular format, called NCL-ltab, which is a Lua table encoding of the NCL player’s internal model. One advantage of our modifications is that they allow the NCL parsing to occur in the Lua script, i.e., outside the formatter but integrated in its execution flow. The same applies for parsers of dialects of NCL or similar languages. Another advantage is that new parsers can be plugged dynamically into the formatter (if they are written in Lua or can be called from Lua). In this paper, we detail the internal model of the NCL player we are using and the NCL-ltab input format. To evaluate our proposal, we present two parser-integration use cases, one for NCL itself, using the DietNCL parsing toolkit, and another for sNCL, an alternative, user-friendlier syntax for NCL.
@inproceedings{dodsworth_dynamic_2018,
	title = {Dynamic Integration of Foreign-Language Parsers into an {NCL} Player},
	rights = {All rights reserved},
	doi = {10.1145/3243082.3243095},
	abstract = {We describe how we modified an {NCL} player to accept as input, in addition to {NCL} documents, Lua scripts. These Lua scripts evaluate to a table in a particular format, called {NCL}-ltab, which is a Lua table encoding of the {NCL} player’s internal model. One advantage of our modifications is that they allow the {NCL} parsing to occur in the Lua script, i.e., outside the formatter but integrated in its execution flow. The same applies for parsers of dialects of {NCL} or similar languages. Another advantage is that new parsers can be plugged dynamically into the formatter (if they are written in Lua or can be called from Lua). In this paper, we detail the internal model of the {NCL} player we are using and the {NCL}-ltab input format. To evaluate our proposal, we present two parser-integration use cases, one for {NCL} itself, using the {DietNCL} parsing toolkit, and another for {sNCL}, an alternative, user-friendlier syntax for {NCL}.},
	pages = {8},
	booktitle = {Proceedings of the 24st Brazilian Symposium on Multimedia and the Web},
	author = {Dodsworth, Jorge P and Terças, Lucas de Macêdo and Alan L. V. Guedes and Lima, Guilherme F. and Neto, Carlos de Salles Soares and Colcher, Sérgio},
	year = {2018},
	langid = {english},
}

Downloads: 1