Any scripting language with a database interface to Smartform is preferred since it's far quicker and shorter to program than lower level or strongly typed languages:
Ruby
R
Python
Perl
PHP
... would all qualify, as would others. You can also find some examples of programming Smartform with Perl and R on the site.