Open irevoire opened 3 months ago
Thank you for writing it down. It's probably good to do some research into what other programming languages (without semicolon-terminated statements) do, before we implement this. For example: Python requires \
-escaped newlines in some cases (when?).
It probably helps that we decided to use introducer-keywords like let
or fn
in Numbat. Otherwise, it would be hard to decide what something like this is:
some * terms +
my_variable = 2
Huum just a though but maybe that’s not that big of a deal if we provide a formatter (especially since numbat already sends you back what it understood of your statement). But yeah, I would say that while we continue to use introducer-keywords, we should be good.
Hey,
At the end of https://github.com/sharkdp/numbat/pull/519 you said:
And I think that would be really nice so I’m just opening an issue to keep track of it. For example converting:
to