All-Caps I/O Program

Explore ports communication more in this lesson to take it to the next level.

Example

In this lesson, we’re going to implement an all-caps I/O program in Elixir and interact with it using ports. The program is going to read lines from the standard input, convert them into uppercase, and then write them to the standard output. In practice, we’ll use ports to interact with software written in all kinds of languages except Elixir itself. Using Elixir here is enough to learn how it all works.

Get hands-on with 1200+ tech skills courses.