Implement support for /bits/.

Also make consume_integer return an unsigned value, as it’s never used in a context where signed values are expected.