A few technical definitions.

Status
Not open for further replies.

geekgod

Journeyman
Hi,
i need STRICTLY TECHNICAL definitions for the following items.(these are for my teachers. for me plzzzzzzz include explanations with them)
1.Compiler 2.Assembler 3.Semantic and Lexical analysis 4.Code generation and analysis 5.Assembly Language set
In case u are wondering, i missed 5 classes of my comp archi and i found these names in the syllabus book. Nobody has written anything, everybody is happy with listening, and i am stuck :(
 

busyanuj

In the zone
A system program that translates a program written in a high-level programming language to a machine language program is known as compiler.

The compiler may use an assembly language as an intermediate step in the translation or may translate the program directly to binary.
 

busyanuj

In the zone
The translation of a symbolic program into binary is done by a special program called assembler.

Basically, it is a program that accepts a symbolic language program (that we type) and produces its binary machine language equivalent. The inputted symbolic program is called the source program and the resulting binary program is called the object program.
The assembler is a program that operates on character strings and produces an equivalent binary interpretation.
 

sreevirus

Certified Nutz
1. Compiler: [Computer Science] A program that translates another program written in a high-level language into machine language so that it can be executed.

2. Assembler: [Computer Science] A program that produces executable machine code from symbolic assembly language.
(source:dictionary.com)

3. Semantic: (i)Of or relating to meaning, especially meaning in language. (dictionary.com). (ii) [comp.sci] The meaning attached to words or symbols (wordsworth dict. of sci and technology)
Semantic analysis: In computer science, semantic analysis is a pass by a compiler that adds semantical information to the parse tree and performs certain checks based on this information. It follows the parsing phase, in which the parse tree is generated, and precedes the code generation phase, in which executable code is generated. Typical examples of semantical information that is added and checked is typing information (type checking) and the binding of variables and function names to their definitions (object binding). Sometimes also some early code optimization is done in this phase.
(src: Wikipedia)

4. Lexical: Of or relating to the vocabulary, words, or morphemes of a language (dictionary.com)
Lexical analysis: (Or "linear analysis", "scanning") The first stage of processing a language. The stream of characters making up the source program or other input is read one at a time and grouped into lexemes (or "tokens") - word-like pieces such as keywords, identifiers, literals and punctutation. The lexemes are then passed to the parser.
(hyperdictionary.com)

5. Code Generation: the generation/production of the symbolic arrangement of data or instructions in a computer program or the set of such instructions.

sorry, wasnt able to find anything on 'assembly language set'.
 

busyanuj

In the zone
Assembly language set: A programming language is defined by a set of rules. Users must conform with all format rules of the language if the want their programs to be translated correctly. Almost every commercial computer has its own particular assembly language. The rules for writing assembly language programs are documented and published in manuals which are usually available from the computer manufacturer.

The basic unit of an assembly language program is a line of code. The specific language is defined by a set of rules that specify the symbols that can be used and how they may be conbined to form a line of code.
 
OP
G

geekgod

Journeyman
:shock: oye sree, these are good enough for my teacher, but for me it was all tangent. :roll: can you include explanations for terms like parsing and others :oops:
 

sreevirus

Certified Nutz
hi geekgod,
u can search for the terms u need on these sites
*www.dictionary.com/
*www.hyperdictionary.com/
*www.thefreedictionary.com/
*en.wikipedia.org/

believe me, u'll get almost everything u need (90% positive results), both technical and non-technical...

if u dont get anything, try good old google....:)
 

lywyre

Cyborg Agent
Google is good. It is better when u know how to use it.

Try this in the google search bar:

define: compiler

U sure will get a lot of answers, but most will be closer to your query.

Also try www.howstuffworks.com
 
Status
Not open for further replies.
Top Bottom