Hacker News new | ask | show | jobs
by icebraining 3047 days ago
Agreed; I've written Python code that processes Python code (both using ast and redbaron), and the result was quite opaque, unlike my metaprograms in Prolog.

In fact, the macropy project[1] offers the "read" step (by abusing the import system), and while using them is pretty cool, I don't think the implementation of the macros is very nice.

[1] https://github.com/lihaoyi/macropy