[erlang-questions] Writing my own REPL

Robert Virding rvirding@REDACTED
Sat Sep 27 00:01:36 CEST 2008


Does it? I didn't know that. :-) However if I do -noshell do I still
user_drv running with its ability to do ^G? Which I want (see another
question).

Robert

2008/9/26 Attila Babo <babo.online@REDACTED>

> Your init function returns immediately then you asked for init:stop()
> so Erlang quits as you ordered. What's wrong with a simple REPL cycle
> using your code like this:
>  erl -noshell -s myshell loop  -s init stop
>
> Take a look at LFE (git://github.com/rvirding/lfe.git), it works as
> expected:
>  erl -noshell -s lfe_shell server -s init stop -pa ebin
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080927/2eb8661c/attachment.htm>


More information about the erlang-questions mailing list