-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added simple Erlang Selection Based Evaluation. ;) #70
Conversation
|
||
Erlang: | ||
command: "erl" | ||
"Selection Based": (code) -> ['-noshell', '-eval', code+', init:stop().'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment about how the code has to be appended with , init:stop().
to get it to run (and stop apparently) in erl
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry, English is not my native language, I can't fully understand what you write :)
But, this , init:stop().
we need to kill erl
, because it can't be killed by itself. ;) The code should be simple expression, there is no support for functions for example, because now that command (in this pull request) only can do some simple things (printing, for example) yet. But I'll do my best to understand how to use real REPL
with this awesome plugin :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Erlang is a strange beast.
Will this still be practical with only simple evaluation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course it is :)
Erlang is not a strange, it's just different :)
Thanks for adding the language as well as providing an example. Can you add Erlang to the README? |
Thank you! Yes, I will add it to the README. :) |
Added simple Erlang Selection Based Evaluation. ;)
Here we go! Thanks @slaykovsky! Fixes #39. |
🍰 |
And thank you! |
Awesome ^_^ |
Alright, Erlang is in the
|
Yeah! |
Hello! I just added an example and so simple selection based evaluation. ;)