altos/lisp: add length, pack, unpack and flush