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
- Host: GitHub
- URL: https://github.com/boolangery/lua-dbus-type-parse
- Owner: boolangery
- Created: 2018-02-11T16:24:24.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-15T06:29:00.000Z (over 7 years ago)
- Last Synced: 2025-01-18T20:07:53.763Z (about 1 year ago)
- Topics: dbus, lua, parser
- Language: Lua
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
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