You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lua tends to get multiple protocol implementations due to the variety of niches that language serves. I'm writing a pure Lua implementation with no dependencies or minimal Lua-only dependencies. The current namespace is "kdl" with the name "KDL Documents in Lua. The current code is one file, "kdl.lua", with interfaces described as reader and writer. The reader accepts KDL passed as a UTF-8 string and emits a lua table, while the writer accepts a table and emits a string. Accepting a file handle and other types is TODO after the parser and encoder are complete. At this point, I'm still open to suggestions for how to handle types that don't have a direct representation in KDL, e.g. functions, and for handling cycles
A C implementation and Lua wrappers for such, as well as an L-PEG implementation would also be of value to the Lua community
I plan to release this with the MIT-X11 license for compatibility with other Lua infrastructure code
The text was updated successfully, but these errors were encountered:
I'm really excited to see the C implementations coming. I'm looking a FreeKDL and considering making wrappers and/or changing my interfaces so that the wrapper and the pure Lua implementation will be interchangeable
Lua tends to get multiple protocol implementations due to the variety of niches that language serves. I'm writing a pure Lua implementation with no dependencies or minimal Lua-only dependencies. The current namespace is "kdl" with the name "KDL Documents in Lua. The current code is one file, "kdl.lua", with interfaces described as reader and writer. The reader accepts KDL passed as a UTF-8 string and emits a lua table, while the writer accepts a table and emits a string. Accepting a file handle and other types is TODO after the parser and encoder are complete. At this point, I'm still open to suggestions for how to handle types that don't have a direct representation in KDL, e.g. functions, and for handling cycles
A C implementation and Lua wrappers for such, as well as an L-PEG implementation would also be of value to the Lua community
I plan to release this with the MIT-X11 license for compatibility with other Lua infrastructure code
The text was updated successfully, but these errors were encountered: