Currently, triple does not support more than one like of code at a time. For example, the following would end in a parse error:
> for (var i = 0; i < 10; i++) {
SyntaxError: Parse error
In the node.js repl, it recognizes that the statement is not yet complete and while allow you to keep typing on the next line, prefixing it with an ellipsis, like this:
> for (var i = 0; i < 10; i++) {
... }
The same behavior should be implemented for triple.
Currently, triple does not support more than one like of code at a time. For example, the following would end in a parse error:
In the node.js repl, it recognizes that the statement is not yet complete and while allow you to keep typing on the next line, prefixing it with an ellipsis, like this:
The same behavior should be implemented for triple.