Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 18-08-2004, 08:06 PM   #1 (permalink)
Broken In
 
Join Date: Aug 2004
Posts: 101
Default A few technical definitions.


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
geekgod is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 18-08-2004, 08:37 PM   #2 (permalink)
In The Zone
 
busyanuj's Avatar
 
Join Date: Dec 2003
Posts: 488
Default

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.
__________________
You are a living magnet. What you attract into your life is in harmony with your dominant thoughts.
busyanuj is offline  
Old 18-08-2004, 08:40 PM   #3 (permalink)
In The Zone
 
busyanuj's Avatar
 
Join Date: Dec 2003
Posts: 488
Default

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.
__________________
You are a living magnet. What you attract into your life is in harmony with your dominant thoughts.
busyanuj is offline  
Old 18-08-2004, 08:45 PM   #4 (permalink)
Certified Nutz
 
sreevirus's Avatar
 
Join Date: Jan 2004
Location: The 3rd rock from the sun
Posts: 310
Default

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'.
__________________
"Don't take life too seriously. You'll never get out alive!" - Bugs Bunny
sreevirus is offline  
Old 18-08-2004, 08:53 PM   #5 (permalink)
In The Zone
 
busyanuj's Avatar
 
Join Date: Dec 2003
Posts: 488
Default

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.
__________________
You are a living magnet. What you attract into your life is in harmony with your dominant thoughts.
busyanuj is offline  
Old 18-08-2004, 09:56 PM   #6 (permalink)
Broken In
 
Join Date: Aug 2004
Posts: 101
Default

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
geekgod is offline  
Old 18-08-2004, 10:26 PM   #7 (permalink)
In The Zone
 
busyanuj's Avatar
 
Join Date: Dec 2003
Posts: 488
Default

Parsing is dividing the code into parts.
__________________
You are a living magnet. What you attract into your life is in harmony with your dominant thoughts.
busyanuj is offline  
Old 18-08-2004, 11:16 PM   #8 (permalink)
Certified Nutz
 
sreevirus's Avatar
 
Join Date: Jan 2004
Location: The 3rd rock from the sun
Posts: 310
Default

hi geekgod,
u can search for the terms u need on these sites
http://www.dictionary.com/
http://www.hyperdictionary.com/
http://www.thefreedictionary.com/
http://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....
__________________
"Don't take life too seriously. You'll never get out alive!" - Bugs Bunny
sreevirus is offline  
Old 19-08-2004, 02:15 PM   #9 (permalink)
Jai Suresh
 
lywyre's Avatar
 
Join Date: Aug 2004
Location: Vellore, TN
Posts: 580
Default

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
lywyre is offline  
Old 19-08-2004, 04:29 PM   #10 (permalink)
Right Off the Assembly Line
 
Join Date: Aug 2004
Location: dehradun
Posts: 4
Default

nice info dudes, u all deserve my compliment for helping a new kid
only_junk is offline  
Old 20-08-2004, 11:44 PM   #11 (permalink)
Broken In
 
Join Date: Aug 2004
Posts: 101
Default

thnx a lot guys. this forum really rocks. CHEERS!!!
geekgod is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by ico
- by Charan
- by Piyush
- by icebags
- by clinton

Advertisement




All times are GMT +5.5. The time now is 12:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2