On Wed, 5 Aug 2020 at 15:53, Ricky Teachey ricky@teachey.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.