Hacker News new | ask | show | jobs
by sklogic 3985 days ago
> I really wish more languages picked up S-expressions, because they're easy to machine-generate.

There is an easy way to generate pretty much any AST using quasiquotations. S-expressions are nice, but certainly not mandatory for a full metaprogramming.

1 comments

do you have more information on that?
Take a look at some of the languages with quasiquotation-based metaprogramming: Template Haskell, Converge, Nemerle.

I did quite a bit of exploration in this area too, here is one of the examples: https://github.com/combinatorylogic/clike

Excuse me, I want to discuss something with you. Please, write on my email lambda.ronin@gmail.com