Dear Jon and Pat,
thanks, Jon, for sharing your programming thoughts. Given your background in both linguistics and programming, I am sure you can come up with a good solution.
I have a copy of Rod Bucknell's book in Singapore, which I have not really gone through. Other than a book collector, I bought the book, which is on Sanskirt not Pali, also because I know Rod personally. ;-) Limited preview of this book is available at Google Books:
http://books.google.com
metta,
Yong Peng.