Skip to content

jmmaa/dew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dew

A simple command language inspired from python functions.

import dew


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

print(result)
# {
#     "args": [
#         "add",
#         "rgb",
#         "color"
#     ],
#     "kwargs": [
#         ("name", "my color"),
#         ("r", "100"),
#         ("g", "150"),
#         ("b", "200")
#     ],
# }

Install

pip install git+https://github.com/jmmaa/dew.git

Links

BNF grammar

About

A simple command language inspired from python functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages