Skip to content

Elixir, Erlang, Gleam & LFE code all in the same project!

License

Notifications You must be signed in to change notification settings

wojtekmach/hello_beam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HelloBEAM

Elixir, Erlang, Gleam & LFE code all in the same project!

Usage

# gleam compiler was at v0.1.2 at this time (6d3906e)

$ git clone https://github.com/wojtekmach/hello_beam
$ cd hello_beam
# install asdf-vm: https://asdf-vm.com/#/core-manage-asdf-vm?id=install-asdf-vm
$ asdf plugin-add erlang
$ asdf install erlang 22.1.1
$ asdf local erlang 22.1.1
$ asdf plugin-add elixir
$ asdf install elixir 1.9.1-otp-22
$ asdf local elixir 1.9.1-otp-22
$ asdf plugin-add gleam
$ asdf install gleam 0.4.1
$ asdf local gleam 0.4.1
$ mix deps.get
$ iex -S mix
iex> HelloElixir.hello()
"Hello from Elixir!"

iex> :hello_erlang.hello()
"Hello from Erlang!"

iex> :hello_gleam.hello()
"Hello from Gleam!"

iex> :hello_lfe.hello()
"Hello from LFE!"

iex> Hello.hello()
[
  "Hello from Elixir!",
  "Hello from Erlang!",
  "Hello from Gleam!",
  "Hello from LFE!"
]

Tests

$ ./test.sh

License

Apache 2.0

About

Elixir, Erlang, Gleam & LFE code all in the same project!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •