..at least in interactive mode. I would also suggest to allow user to omit ; for the last statement (if next token is EOF).
For example, this is how C# interactive works (; in C# is also mandatory):
Bite:
> 2+2
Error occured while parsing statement.
Error Count: 1
missing ';' at '<EOF>'
> 2+2; <-- no output
> System.PrintLine(2 + 2); <--finally output
..at least in interactive mode. I would also suggest to allow user to omit
;for the last statement (if next token is EOF).For example, this is how C# interactive works (
;in C# is also mandatory):Bite: