On Wed, Aug 5, 2020 at 11:41 AM Marco Sulla Marco.Sulla.Python@gmail.com wrote:
On Wed, 5 Aug 2020 at 15:53, Ricky Teachey firstname.lastname@example.org wrote:
How about this?
@print(sep="\n") 1, 2, 3
If you consider @print as a function decorator, it's quite a problem. But I was thinking mainly about a sort of "decorator" for the parser and/or the AST compiler. This could allow you to have, for example:
from mypython import * @const a = 5
with a C extension. More than an idea is a question, since I've no knowledge about AST and code parsers.
I'm probably dim but I have no idea what that is supposed to mean or do. Is this just calling const(a=5)...? what is the point of that?