You have not given us sentences, Dede – you have just given us two noun/preposition combinations. Both can possibly be inserted into sentences (different sentences, of course). Please supply the sentence within which you wish to use these phrases.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Dede la Gambasse"Programming for *" and "Programming to *" where * could be technological singularityI can't imagine that 'programming to technological singularity' could be right. I would use 'for'.