Have I imagined it or did Monkey1 allow use of semicolons for line ends? Is there something similar in Monkey2? It would be nice to be able to write things like :
isn’t ideal in terms of readability but yeah, there are times when a number of different statement would be neater on a single line – empty extern methods for example.
is there any reason that white space couldn’t be more meaningful to the parser for example
Monkey
1
2
3
[crayon-5cb9e25c6498b729478001inline="true"]
Propertything:Int()Return_thing;End
[/crayon]
there is nothing valid to be had after ) so why not assume the code bock has stated (even on the same line) expressions like the return statement do need some EOL marker because often expressions are more readable with embedded spaces.