See request on Hacker News
One possibility would be to allow arbitrary characters in function definitions and invocations, though that might lead to ambiguities in the grammar.
func **(x, y) {
Math::pow(x, y)
}
test.fact("Can use operators",
2 ** 3, =>, 8.0,
10 ** 2, =>, 100.0
)
See request on Hacker News
One possibility would be to allow arbitrary characters in function definitions and invocations, though that might lead to ambiguities in the grammar.