reordering a bit the regexes that add the semicolons before kewords
adding a missing regex for the "box" keyword
tidying up the whole code translator. It's now much smaller and it handles many more cases than before.