pufuwozu/roy — Issue #29: Fix Roy Repl to use multi-line or ";".
Author: esehara
Created: 2011-12-02 13:16:05+00:00
State: open

Example Python:
```
>>> def test():
... pass
...
>>>
```

ghci (Haskell):
```
Prelude> let test x = do{if x == 1 then 0 else x * 2}
Prelude> test 2
4
```

but, Roy:

```
roy> let gcd a b =
Error: Parse error on line 2: Unexpected 'EOF'

roy> let gcd a b = if b == 0 then
Error: Parse error on line 2: Unexpected 'EOF'

roy> let gcd a b = if b == 0 then a else gcd b (a % b)
Error: Parse error on line 2: Unexpected 'IDENTIFIER'

roy> let gcd a b = ;if b == 0 then;a;else;gcd b (a % b)
Couldn't tokenise:
```
At least, it should be able to use multi-line or ";".