-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib/ParserLuaTable #69
Comments
Maybe, another related project: https://github.com/danielsm/Lua2NCL Just a question: is the ideia to parse directly from a Lua table? Or to convert from Lua table -> XML (or DOM) -> Execution Model. I believe it would be easier (and would avoid duplicated code) if there is only one input format (or the XML or the Lua table). The other formats should be translated to it. |
Today, PaserLibXML does XML -> Execution Model
Agree. We should discuss better about this.
One motivation of this work is integrate the DietNCL (internally use a LuaTable format) into ginga. It may enable do XML EDTV -> LuaTable RAW (from DietNCL) -> ExecutionModel. |
To the tests generation, maybe, a simple LuaTable to XML convertion such as [1] could help. [1] https://gist.github.com/robertogerson/eaca97e44dba8aad48f8cbdeb8cb1f76 |
#Today, lib/PaserLibXML convert NCL EDTV in XML and convert it to an lib/Document object.
The lib/ParserLuaTable will load a lua table and convert it to a lib/Document object.
Possible usage:
ginga -l main.lua
Benefits:
[1] https://dl.acm.org/citation.cfm?id=3126866
The text was updated successfully, but these errors were encountered: