Abdur-rahmaanJ / greenberry

A one-line statement language with grammar and infinite look-ahead
https://abdur-rahmaanj.github.io/greenberry/
Apache License 2.0
50 stars 39 forks source link

Support for multi-line print statements #61

Closed Aarthi-V closed 5 years ago

Aarthi-V commented 5 years ago

I tried the following code snippet in the IDE: print string good going Toby Expected Output: good going Toby And the actual output was just: good going

I believe it would be better if there was an error message displayed in such cases. Additionally we can also add code to support multi-line print statements.

Please let me know what you think.

Abdur-rahmaanJ commented 5 years ago

@Aarthi-V by design is a one-line statement language and as such does not support multi-line