prusnak / micropython-extmod-generator

Generator for Micropython external modules written in C
MIT License
21 stars 6 forks source link

Use Type Hints (PEP 0484) for module definition #1

Open prusnak opened 8 years ago

prusnak commented 8 years ago

We can use Type Hints (described in PEP 0484) to provide even more metadata for the module (types of arguments and return value).

With this metadata we can generate extra code that deals with argument parsing and returned objects creation.