add functions to test the syntax of scripts in PIG, SQLite, R