x: Add 'calculator mode', intended for simple integer expressions