stuff copied over from picoLisp/app, preliminary steps in iorg/er.l.