An open API service indexing awesome lists of open source software.

https://github.com/boolangery/lua-dbus-type-parse

DBus type signature parsing
https://github.com/boolangery/lua-dbus-type-parse

dbus lua parser

Last synced: 4 months ago
JSON representation

DBus type signature parsing

Awesome Lists containing this project

README

          

lua-dbus-type-parse
===============================================================================

A Lua DBus type signature parser.

Usage
==============================================================================

Minimal exemple:

.. code-block:: lua

local parse = require 'parse'

local tree = parse.parseSignature('a{s{u(iodai)}}')
parse.prettyPrint(tree)

will display:

.. code-block::

[array]
[dictionary]
[basic] string
[dictionary]
[basic] uint32
[structure]
[basic] int32
[basic] path
[basic] double
[array]
[basic] int32