We have a NXT which we were able to programme in LUA. It had a very nice library and worked well, much easier than the visual block programming
Edit: http://hempeldesigngroup.com/lego/pblua/nxtfunctiondefs/
Edit: http://hempeldesigngroup.com/lego/pblua/nxtfunctiondefs/