Programs as tables