lib: add new keyword for throw statement