Y
Hacker News
new
|
ask
|
show
|
jobs
by
MeteorMarc
109 days ago
That is fun: it lends c-style block markers (curly braces) and python-style line separation (new lines). No objection.
3 comments
steeleduncan
109 days ago
It uses the same trick as Go [1]. The grammar has semicolons, but the tokeniser silently inserts them for ease of use. I think quite a few languages do it now
[1]
https://go.dev/doc/effective_go#semicolons
link
maxloh
109 days ago
JavaScript and Kotlin do that too.
link
NuclearPM
109 days ago
Lends? What does that mean?
link
skavi
108 days ago
blends
link
[1] https://go.dev/doc/effective_go#semicolons