Web Scraping with Elixir Rate Limiting Server Requests in Elixir

Creating a function with inputs from a file at compile time using Elixir AST

A function body (returning a list of tuples) was being generated manually via a script from a CSV file, which was run in an iex shell manually. That was fine until we needed to translate the strings from the CSV using gettext/1 macro which was not possible with the script anymore.

This blog post shows how to create a function with inputs from a file at compile time using Elixir AST so you don’t need any manual work to keep your function body up to date!

Read more here: https://blog.burakaymakci.com/posts/creating-a-function-with-inputs-from-a-file-at-compile-time-using-elixir-ast/