Towards a nonstandard analysis of programs