If Khokhar want to learn about compiler then it's good! Many scripting language don`t have compiler, only interpreter (BASH for example). Once even I written subset of basic :-)
Any and all programming language have a compiler. The computer only understands binary, and even then a special binary the CPU can understand. All scripting language DO IN FACT get compiled, just not when you expect. They are compiled on the fly by the vm that runs them. Also, you would need more than a compiler to create your own scripting language. Which is why we have the great languages like Python, Pearl, PHP, etc...
OP is asking for something that takes experts multiple years to get right. Yes EXPERTS that know way more than an EZ member ever could. Not impossible, but extremely unlikely.
What OP wants is something skiddy, where they could push a button and exploit. That does exist in the form of AutoPwn. OP really NEEDS to learn how to fucking code PROPERLY or get laughed at again by the lack of knowing or even the slightest hint of research. If OP would have utilized Google, OP would have gotten the Fuckin answer before we laugh the incompetent fool out of house and home. OP's question is and was fucking retarded, Google could have saved the face palms, but OP gets what s/he fucking deserves. Do your own fucking homework or GTFO.