enhance validator API and add Lua5.2 validator
13 files changed