Starting a REPL fails when calling clojure.main/main from Erlang shell
jfacorro opened this issue · comments
Juan Facorro commented
Describe the bug
Starting a Clojerl REPL by calling 'clojure.main':main([<<"-r">>])
from an Erlang shell results in errors.
To Reproduce
$ rebar3 shell
===> Compiling rebar3_clojerl
===> Verifying dependencies...
===> Compiling clojerl
Erlang/OTP 23 [erts-11.0] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe]
Eshell V11.0 (abort with ^G)
===> The rebar3 shell is a development tool; to deploy applications in production, consider using releases (http://www.rebar3.org/docs/releases)
===> Booted compiler
===> Booted clojerl
1> 'clojure.main':main([<<"-r">>]).
Clojure 0.6.0-1982.b50d189
clje.user=> 1
Couldn't unread to erlang.io.PushbackReader: :badarg
clje.user=>
Couldn't unread to erlang.io.PushbackReader: :badarg
clje.user=>
Steps to reproduce the behavior
Expected behavior
The Clojerl shell can be used normally.
Actual behavior
The REPL is unusuable.
Context
clojerl
version (tag/sha):0.6.0-48-g6850df4
- Related: clojerl/rebar3_clojerl#86