Metadata-Version: 2.4
Name: dew-py
Version: 1.0.0
Summary: A simple command language inspired from discord slash commands
Author: jma
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typing_extensions==4.15.0
Provides-Extra: test
Requires-Dist: pytest==8.4.1; extra == "test"
Requires-Dist: tox==4.28.4; extra == "test"
Dynamic: license-file

# Dew

A simple command language inspired from discord slash commands

```py
import pprint as pp

import dew


result = dew.parse('add rgb color name:"my color" r:100 g:150 b:200')


pp.pprint(result)

# {'name': 'add',
#  'tail': {'name': 'rgb',
#           'tail': {'name': 'color',
#                    'tail': [('name', 'my color'),
#                             ('r', '100'),
#                             ('g', '150'),
#                             ('b', '200')]}}}
```

### Links

[BNF grammar](grammar.bnf)
