adding language support to flexer