I am a bit out of it but Ruby
might be closest to what you are looking for, also look out for "Ruby on Rails".
There is also the HTML desktop idea espoused I think by Mozilla Foundation, so there PHP might suggest itself as "local web app" coding language.
"Klinger, do you know how many zoots were killed to make that one suit?" — BJ Hunnicutt, 4077 M*A*S*H