Elixir, iex, video, compile

https://www.youtube.com/watch?v=k8RkVQlemyM&list=PLtHDJri4AWWRfOzaQoMQlkWt53aIAPcZ9&index=4

hot to complile

https://medium.com/@fxn/how-does-elixir-compile-execute-code-c1b36c9ec8cf

ixe

:erlang.halt() - exit

c "file.ex" compile and load modules  -> [first_module, second_module] 

r module - relaod module

elixirc file.ex -> 2 files in own module OneModule and OtherModule BYTE code

elixirc produces a .beam file per every mudules in File

mix new nano - create project nano
cd  nano
test

.exs - scripts without moduls
elixir go_hard.exs - запуск скрипта

iex -S mix компиляция проекта

iex> Process.exit(pid(0,134,0), :because)






Комментарии

Популярные сообщения из этого блога

Elixir, LiveView