Bruce Leban wrote:
Isn't there are already a syntax for this?
expr = lambda: x + y * z
Maybe you want some conversion of that lambda into a different form:
expr = @ast lambda: x + y + z
If you need new syntax for this, then it's a sign that there *isn't* already a syntax for what we want. Given that we need new syntax anyway, there doesn't seem to be any point in bothering with the lambda:
expr = @ast: x + y + z
or any other suitable syntax.