OOTP, ITP, TB and TQ are all written in C++. The commentary database is actually an MS Access database which is being imported by TB. The new OOTP commentary database is an XML file, generated automatically based on an mySQL database, which can be edited using an PHP/HTML frontend
It obviously doesn't really matter which programming language has been used. The problem is only to have enough commentaries...