daml/compiler/repl-service
Moritz Kiefer 6bf1eb19ae
Print results in DAML REPL and support pure expressions (#6799)
* Print results in DAML REPL and support pure expressions

This extends DAML REPL to behave similar to GHCi in that it prints
results if the result is an instance of `Show` and it also supports
pure, non-script expressions now. We copy the same hack from GHCi and
typecheck multiple times. This doesn’t seem to have any noticeable
performance impact (which makes sense, the expressions are tiny and
the overhead of grpc is much much bigger).

Docs and tests are updated.

fixes #6780

changelog_begin
changelog_end

* windows is garbage

* but I fixed it \o/

* Rename getReplLogger to newReplLogger

changelog_begin
changelog_end
2020-07-21 09:01:18 +00:00
..
client Print results in DAML REPL and support pure expressions (#6799) 2020-07-21 09:01:18 +00:00
protos Print results in DAML REPL and support pure expressions (#6799) 2020-07-21 09:01:18 +00:00
server Print results in DAML REPL and support pure expressions (#6799) 2020-07-21 09:01:18 +00:00