Simply put, a scripting language is a way to write commands that a computer interprets one by one. A script of this kind is usually readable by humans. This is in contrast to a compiled programming-language, where the entire “script” (or source code, more correctly) is first translated into machine-readable codes, and then run at a later time. This is quicker when run, but generally take more work to create.An example of a scripting language is JavaScript, which is used to do various tasks in webpages. Your webbrowser reads the commands in the script, and runs them one by one in order to complete one or several tasks. A simple example:When internet explorer runs this, it would store ‘First part’ in a variable called x, and likewise ‘seccond part’ in y. Then it puts them together in z, and finally writes it out to the screen in the form of a popup-box (The kind where you have to click “ok” to make it dissapear). (Note: If the same thing was created with a compiled language, you could end up with a file to run as a program, eg. example.exe, and you would not be able to read the commands running it).

Leave a Reply

Your email address will not be published. Required fields are marked *