Metadata-Version: 2.1
Name: stift
Version: 0.1.0
Summary: A package to implement spreadsheet-style functions in a safe way
Home-page: https://github.com/tgross35/stift
Author: Trevor Gross
Author-email: t.gross35@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# stift

An awesome module for parsing strings to functions,

## Parser

The par

### Parser Example

```python
from stift import Parser

s = r"""banana(apple,fruit(1,2,"\"yes\" or \"no\"",sauce[0]"""
parsed = Parser().parse(s)

# Returns the following:
# [
#     [
#         {
#             "type": ParseTypes.function,
#             "value": "b",
#             "argc": 2,
#             "argv": [(1, 0), (1, 1)],
#         }
#     ],
#     [
#         {"type": str, "value": "a"},
#         {"type": ParseTypes.array, "value": "s", "index": (2, 0)},
#     ],
#     [{"type": int, "value": 0}],
# ]
```

## Functions (WIP)


