Implementing a mini iex

Besides ‘just read the source’ is there a good tutorial on implementing a ‘mini iex’ in elixir ?