Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In the case of Prolog, term and goal expansion are arbitrary compile-time execution mechanisms, completely isomorphic with macros, and are referred to as macro mechanisms.

The characterization of it not being "compile-time macro execution" is strange, what do you think these predicates are doing?



Good point. I was thinking about meta-interpreters (and it's still possible I misunderstood or misremembered how they work!), but you're right; I should have at least been more precise.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: