jckarter/clay — pull request #444 by galchinsky (2012-11-16 01:07:05+00:00)
Title: Extract  parser.hpp from clay.hpp. Multi-line input for repl

`next` token function in parser runs a callback to get tokens from console if it is in repl
```
$clay -repl ../examples/factorial.clay
clay>[T]
foo(z:T){
var x = 5;
var y = 6;
println(x * y * z);
}
clay>foo(1);
30
```

`Parser.hpp` extraction is for using `#include lexer.hpp` in the header.