So writing a plug-in should be straightforward, yo...
# kobalt
c
So writing a plug-in should be straightforward, you can look at
RetrolambdaPlugin
for inspiration, it seems to do the same thing