View Full Version : Compilers
chatykrew
Jan 3, 2007, 04:38 AM
Hi
Please I would like to ask this question - what are the four types of compilers and also I want to know at least 3 types of compilation techniques.
I will be grateful if any one can help or direct me to a site that can discuss this in detail.
Thanks
chatykrew
Capuchin
Jan 3, 2007, 04:41 AM
Wikipedia is good for this sort of thing:
Compiler - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Compiler)
If you want a free compiler (easy to use) then go to
Liberty BASIC - Easy Programming for Windows (http://WWW.libertybasic.com)
But the compilation techniques...
An interpreter turn 1 line of code into a binary code wich the computer "runs"
Since it uses only 1 line at a time, it is good for programs wich are big and have a lot of GOTOs.
A compiler however, is better for programs that run straight through, and they can create *.exe-s (wich is the major drawback with an interpreter; they can't create *.exe-s.).
And I think there was something called Pline, but I don't know about that...
Capuchin
Jan 4, 2007, 02:23 AM
I believe he's asking about different types of compiler... nothing about interpreters... good try though.
jahnplay
Jan 4, 2007, 02:36 AM
Depends what your coding you got
C
Java
VB
ASP.NET
HTML
VBscript
ASP 3.0
ASP.NET
VB 3.0-6.0
VB.NET
C#.NET
Perl/ActivePerl/CGI
VBScript & VBA
HTML 3.2+
XHTML
XML
C++
PHP
CSS
SQL Query
Some you don't need to compline you need a viewer
Each one is different
Capuchin
Jan 4, 2007, 02:44 AM
Uhhh, he's asking about types of compiler... Please can you guys read the question? :D
jahnplay
Jan 4, 2007, 02:49 AM
Uhhh, he's asking about types of compiler... Please can you guys read the question? :D
You it depends on what code he uses
Capuchin
Jan 4, 2007, 03:00 AM
He's not asking about types of code... he's asking about types of compiler..?
The only question you seem to have answered is "Give me the names of lots of programming languages". He didn't ask that.
He's asking about the 4 different kinds of compilers that programming environments use, and about the 3 techniques that these compilers use for compilation.
Right?
I thought wiki covered that... :confused:
Capuchin
Jan 4, 2007, 03:51 AM
Yes. And so the question is answered :p
Hooray!! I did it
:D:D:D
*steals fame*
dono2007
Jan 6, 2007, 01:22 AM
What jahnplay means by
you it depends on what code he uses is that for every programing language there is an different compiler.
For C++ there is a different compiler
And so on