There absolutely is an eval function in the Elixir standard library:
https://hexdocs.pm/elixir/1.18.3/Code.html#eval_string/3