declo
declo
aims to improve the ergonomics of functional programming syntax in python. It extends the JS syntax into python.
Why declo?
It should be easy to customize our python sytanx. I find the JS Syntax for functional programming easier to work with, allowing me to write declarative code easily.
Declo is about DSLs that compile to python bytecode during runtime.
Usage
-
Create lambdas with arrow notation
-
Create named functions globally
Thoughts
- How much can we acheive synctatic sugars with pre-processing?
- What are the hard things - like closures?
- How do we handle linting, since the commands are in strings?