3 meta-programming demos: prefix, memorization, julia port

I am very interested in meta-programming, here are 3 interesting demos I would like to share with you all for suggestions.

prefix(GitHub - cjen07/prefix: the world is your playground, ∀ Q, ∃h, ∀ f, g ∈ Q, s.t h(f, g) "then" f ≡ g + f): ∀ Q, ∃h, ∀ f, g ∈ Q, s.t h(f, g) “then” f ≡ g + f

recursion(GitHub - cjen07/recursion: example project to write straight recursive functions with memorization in elixir using OTP and metaprogramming): write straight recursive functions with memorization in elixir using OTP and metaprogramming

julia_port(GitHub - cjen07/julia_port: example project to invoke julia functions in elixir to do scientific computing using port and metaprogramming): invoke julia functions in elixir to do scientific computing using port and metaprogramming

6 Likes

That is really quite cool.

One note, the recursion one, might execute faster to memoize into ETS instead of distinct other processes.

Thanks very much, will try ETS :grin: