Open sirex opened 3 years ago
Thanks! Yes, I like decorators in Python and JS, and have been thinking of implementing them in Pyxell. Though I think it's a bit more difficult with static typing. It will probably require adding some mechanism similar to variadic templates in C++, so that it's possible to re-pass all arguments without explicit type information.
I love the language design so far, especially with type annotations fixed to be in
name: Type
form.But one thing, that I could not find in the docs nor in todo list, is the decorators. Do you have plans to add support for decorators?