|
|
|
|
|
by mjs2600
4425 days ago
|
|
Elixir has Lisp-style macros with a Ruby syntax. It's not quite as close to the AST as a Lisp, but I think the trade off hits a sweet spot. For example: quote do
1 + 1
end
returns: {:+, [context: Elixir, import: Kernel], [1, 1]}
which, if you squint at it, starts to look a little Lispy. |
|