Both forward-chaining and backward-chaining rules (which may include python code) are compiled into python. Can also automatically assemble python programs out of python functions which are attached to backward-chaining rules. See pyke.sourceforge.ne
The CMS-Bandits is a set of php scripts, with online html editor, calendar, searchengine, rss reader, revision log, personal nickpage, comment system, webcrawler and even more.