separated library+ragel from main parser