User loginNavigation |
archivesPythologic - Prolog syntax in PythonThe "recipe" for Pythologic is given and discussed here: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303057 The discussion is interesting in itself, as it identifies the "wildly unpythonic" and "abusive" "overhaul of the function semantics" involved. One thing I've always liked about Python is the extent to which it supports this kind of metaprogramming. You can, if the mood takes you, quite seriously deform the language's conventional semantics. That isn't necessarily a good thing; but it can be fun sometimes. David Mertz has written an article on embedding declarative mini-languages in Python, which demonstrates some other techniques. By Dominic Fox at 2004-09-03 09:28 | Meta-Programming | login or register to post comments | other blogs | 29406 reads
|
Browse archivesActive forum topics |
Recent comments
22 weeks 1 day ago
22 weeks 1 day ago
22 weeks 1 day ago
44 weeks 2 days ago
48 weeks 4 days ago
50 weeks 1 day ago
50 weeks 1 day ago
1 year 5 days ago
1 year 5 weeks ago
1 year 5 weeks ago