The kind of compiler I'm thinking of would be able to search the internet/HD, find examples of what you're talking about, and extrapolate from what it finds - A VI (Virtual Intelligence), in other words. What you're talking about is one of the things that would come before that.
Right now, what I'm talking about would probably require a team of the best programmers and scientists from all sorts of fields and a supercomputer.

It would have to be built up too, over years.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.