Sunday, May 20, 2007

Information on Compiler

showing 1-10 of 10 first | <> | next > | last



(manage)
8:50 pm(15 hours ago)
Information on Compiler
who so ever studied compiler ???

plz post every bit of info on compiler. here
delete

B_R
(manage)
8:52 pm(15 hours ago)
compiler converts source code into machine langauge.
delete

B_R
(manage)
8:54 pm(15 hours ago)
Program that reads another program, and then parses that script into a form that can then be executed.
Or

Compiler is a special program that processes statements written in a particular programming language and turns them into machine language or "code" that a computer's processor uses.
delete


(manage)
8:59 pm(15 hours ago)
spidy did u studied compiler
if yes then post the name of books and all.

if u have ebooks on that then that also.


and if u have a code of compiler then that code also
delete

B_R
(manage)
9:03 pm(15 hours ago)
ebbk for xml complier
http://www.4shared.com/file/15982594/a27ac275/XML_Compilers.html?s=1
delete

νινєк
(manage)
9:09 pm(15 hours ago)
as said above. definition is correct.
we are using mainly 2 phase compilers
in 1st pass opcode table and symbol table is generated
in 2nd pass the corresponding machine codes are generated.

the various things done by a compiler are

1. lexical analysis
2. syntax analysis
3. type checking
4. intermediate code generation
5. code generation
6. code optimisation
delete

B_R
(manage)
9:10 pm(15 hours ago)
A compiler is a special type of computer program that translates a human readable text file into a form that the computer can more easily understand. At its most basic level, a computer can only understand two things, a 1 and a 0. At this level, a human will operate very slowly and find the information contained in the long string of 1s and 0s incomprehensible. A compiler is a computer program that bridges this gap.

In the beginning, compilers were very simple programs that could only translate symbols into the bits, the 1s and 0s, the computer understood. Programs were also very simple, composed of a series of steps that were originally translated by hand into data the computer could understand. This was a very time consuming task, so portions of this task were automated or programmed, and the first compiler was written. This program assembled, or compiled, the steps required to execute the step by step program.

cont...
delete

B_R
(manage)
9:11 pm(15 hours ago)
.

These simple compilers were used to write a more sophisticated compiler. With the newer version, more rules could be added to the compiler program to allow a more natural language structure for the human programmer to operate with. This made writing programs easier and allowed more people to begin writing programs. As more people started writing programs, more ideas about writing programs were offered and used to make more sophisticated compilers. In this way, compiler programs continue to evolve, improve and become easier to use.

Compiler programs can also be specialized. Certain language structures are better suited for a particular task than others, so specific compilers were developed for specific tasks or languages. Some compilers are multistage or multiple pass. A first pass could take a very natural language and make it closer to a computer understandable language. A second or even a third pass could take it to the final stage, the executable file.

cont...
delete

B_R
(manage)
9:12 pm(14 hours ago)
The intermediate output in a multistage compiler is usually called pseudo-code, since it not usable by the computer. Pseudo-code is very structured, like a computer program, not free flowing and verbose like a more natural language. The final output is called the executable file, since it is what is actually executed or run by the computer. Splitting the task up like this made it easier to write more sophisticated compilers, as each sub task is different. It also made it easier for the computer to point out where it had trouble understanding what it was being asked to do.

Errors that limit the compiler in understanding a program are called syntax errors. Errors in the way the program functions are called logic errors. Logic errors are much harder to spot and correct. Syntax errors are like spelling mistakes, whereas logic errors are a bit more like grammatical errors.
delete

B_R
(manage)
9:13 pm(14 hours ago)
Cross compiler programs have also been developed. A cross compiler allows a text file set of instructions that is written for one computer designed by a specific manufacturer to be compiled and run for a different computer by a different manufacturer. For example, a program that was written to run on an Intel computer can sometimes be cross compiled to run a on computer developed by Motorola. This frequently does not work very well. At the level at which computer programs operate, the computer hardware can look very different, even if they may look similar to you.

Cross compilation is different from having one computer emulate another computer. If a computer is emulating a different computer, it is pretending to be that other computer. Emulation is frequently slower than cross compilation, since two programs are running at once, the program that is pretending to be the other computer and the program that is running. However, for cross compilation to work, you need both the original natural language text that describes the program and a computer that is sufficiently similar to the original computer that the program can function on to run on a different computer. This is not always possible, so both techniques are in use.
delete

showing 1-10 of 10

Visual Basic ® 6 Daily Tutorial

showing 1-5 of 5 first | <> | next > | last


B_R
(manage)
May 17(4 days ago)
The Visual Basic Environment
On start up, Visual Basic 6.0 will display the following dialog box as shown in figure 1.1.
You can choose to start a new project, open an existing project or select a list of recently opened programs. A project is a collection of files that make up your application. There are various types of applications we could create, however, we shall concentrate on creating Standard EXE programs (EXE means executable program). Now, click on the Standard EXE icon to go into the actual VB programming environment.

http://tinyurl.com/5c8do/vb11.jpg
delete


(manage)
May 17(4 days ago)
http://msdn.microsoft.com/ online help on VS

good spidy keep going
delete

B_R
(manage)
9:21 pm(14 hours ago)
play with command buttons.
follow the instruction as per post 1 to start project.

drag and drop 4 buttons.

and double click on those buttons will get this code

Private Sub Command1_Click()

End Sub

Private Sub Command2_Click()

End Sub

Private Sub Command3_Click()

End Sub

Private Sub Command4_Click()

End Sub

Private Sub Form_Load()

End Sub
delete

B_R
(manage)
10:04 pm(14 hours ago)
we are going to develop our command button logic for our programme (say flooder).

and conditions are...

1) when our programme starts(form load) only 1st buttons should have enable (clickable). and all 3 buttons disabled. The code for fromload event is ...


Private Sub Form_Load()

Command1.Enabled = True 'enables command button 1

Command2.Enabled = False 'disables command button 2

Command3.Enabled = False 'disables command button 3

Command4.Enabled = False 'disables command button 4

End Sub


2)When we click on 1st button 2nd button get enabled and 1st becomes disabled. we have to write code in click event of command1


Private Sub Command1_Click()

Command2.Enabled = True 'enables command button 2

Command1.Enabled = False 'disables command button 1

End Sub


3)

Private Sub Command2_Click()

Command3.Enabled = True 'enables command button 3

Command2.Enabled = False 'disables command button 2

End Sub


4)


Private Sub Command3_Click()

Command4.Enabled = True 'enables command button 4

Command3.Enabled = False 'disables command button 3

End Sub


5)


Private Sub Command4_Click()

Command1.Enabled = True 'enables command button 4

Command4.Enabled = False 'disables command button 1

End Sub


in this e.g when we click on 1st button, 2nd button enables and 1st disables , click on 2nd button enables 3rd button.. and disables 2nd and so on...

[bule]This process is like a close loop ... 1-2-3-4-1-2-3-4-......

download sample exe:

http://hummm.hummm.googlepages.com/1st.exe
delete

B_R
(manage)
10:08 pm(14 hours ago)
[bule]*
delete

showing 1-5 of 5