I made this widget at MyFlashFetish.com.

Khamis, 14 April 2011

Tools Used in Programming

Programming is the process of scheduling, planning and writing a computer program. With the help of programming, a computer programmer can create a sequence of commands that tells that computer processor what to do. Programmers use a variety of tools that help prevent the occurrence of mistakes, commonly known as computer bugs. These tools also convert the language used by the computer programmer into a language that the computer can understand.

Code Editor 

The code editor is a tool designed for code writing and editing. All programming software programs usually come with a code editor. The editor adapts to the language the programmer uses. It allows the user to insert body of codes using the keyboard or mouse. The code editor comes with a feature called code colors that allow the programmer to differentiate sections of the code.

Compiler 

The compiler defines the instructions that are acceptable in a program. It converts a high-level language into machine code, the only set of syntax understood by the computer processor. The compiler allows a programmer to make programs using high-level languages. It uses the output, called source code, to generate a series of commands written in binary bits. The compiler looks at the source code to collect, reorganize and generate a new set of instructions to make the program run faster on the computer.

Interpreter 

The interpreter executes a source code written in high-level language without going through compilation stage. The interpreter allows the programmer to test the program quickly, allowing him to see the results before adding new sections to the code. Programmers prefer to use the interpreter during the development stages of the programs they are writing. An interpreter immediately translates the source code and then executes it. With the use of an interpreter, there is a significant reduction in the amount of time a programmer has to devote into programming.

Decompiler 

The decompiler reverses the process done by the compiler. It translates the machine code into a high-level language to create a presentation of the program. A programmer uses a decompiler to detect vulnerabilities and malicious codes, verify code matches, revise binary code bits and learn algorithm. Programmers use the decompiler as a form of maintenance and security whenever they write programs.

Parser 

The parser analyzes the structure of statements in the source code written by the programmer. The parser compares the string to a rule in English grammar in order to define potential code structures. During the parsing process, the computer looks for a particular constituent and consults the rules governing English grammar in order to look for alternatives. Parsing also applies to other languages such as French and German. However, the results are not as seamless as the ones generated in the English language.


Tiada ulasan: