Hooligan
Jan 21 2005, 12:37 PM
| | If you need a C compiler to compile a program in C for example, who made the C compiling program, and how? Does it work from an older programming language, or is there some neat programming trick that I'm missing here? It's a bit puzzling to me. |
Reply
no9t9
Jan 21 2005, 01:21 PM
compiler software is written in the most basic programming language. All your C/C++, Visual Basic, etc. are called HIGH LEVEL programming languages. The most basic programming language is a LOW LEVEL programming language called Assembly. This language is as close to machine language as it gets. The compiler basically translates high level programming languages into machine language. I've written some programs using assembly to program a processor to perform automated and controlled tasks. It's not that difficult but you have to control every aspect of the processor.
Reply
s243a
Jan 21 2005, 01:47 PM
I doubt people still right compilers in assembler. I had a professor who wrote an asselber in Perl for a microprocessor that was unique to the engineering department. Perl was a could choice for righting a complier in because it excels at manipulating text. An assembler is nothing more then a look up table. C is such a primitive language that the mapping between c code and assembly is pretty obvious. Aside from the need to parse expressions a c compiler need not be much more then a look up table. The basic compiler is also probably pretty intuitive. The translation from some languages such as JAVA, lisp and prolog to assembly may not be so obvious. Lisp and prolog are considered AI languages and in JAVA the code is first translated into beta code which represents instructions on a virtual machine. The virtual machine does not match PC assembly but may match closely to some sun systems. I herd the spark systems assembly is based on the JAVA beta code.
Reply
dexter
Jan 21 2005, 01:55 PM
QUOTE(no9t9 @ Jan 21 2005, 11:21 PM) compiler software is written in the most basic programming language. All your C/C++, Visual Basic, etc. are called HIGH LEVEL programming languages. The most basic programming language is a LOW LEVEL programming language called Assembly. This language is as close to machine language as it gets. The compiler basically translates high level programming languages into machine language. I've written some programs using assembly to program a processor to perform automated and controlled tasks. It's not that difficult but you have to control every aspect of the processor. Right... but not really the answer... Actually, today's compilers are written in high-level languages. The orginal compilers, though, that was another matter. Before our first high-level languages, and before assembly... there was machine code. Machine code was used originally for programming, and it was all done via 0110101010... etc. Assembly language was then thought of, and using machine code, our first assemblers were written (an assembly translates assembly into machine code). Eventually, after using assembly for some time, a work on a new language, FORTRAN, began. And a compiler for this language was written in assembly (this took an incredible amount of time... several man-years of work, if I recall correctly). And as I understand, that compiler was used to write other, better compilers, and so on and so forth. So, even though this C compiler was not written in machine or assembly code, it still relies on the original compilers and assemblers for it's existance. That's the basic idea behind how it all works and came about.
Reply
no9t9
Jan 21 2005, 02:07 PM
I believe I answered his question the way I had interpreted it. I'm assuming the guy was talking about the "chicken and egg" phenomenon regarding compilers. Just saying that they were made in assembly. Obviously today there are many more options.
Reply
dexter
Jan 21 2005, 02:23 PM
Ah, I see what you were getting at... it was just the use of present tense in relation to writing compilers in assembly that bothered me...
Reply
alperuzi
Jan 22 2005, 02:32 AM
QUOTE(no9t9 @ Jan 21 2005, 08:21 AM) compiler software is written in the most basic programming language. That sentence throws you off. as no9t9 noted, compilers can be written in any language, no assembler is required. If you go to computer engineering in university, in 3rd or 4th year you take a course on how to specify software mathematically, and you can take a course on how to design and write compilers. They usually use Java or more often C for this purpose.
Reply
cse-icons
Jan 30 2005, 09:36 AM
nowadays compilers are also written in Java or C and compiled. But earlier the compilers were written in assembly language. i.e, critical portions of compiler relating to parsing and converting to binary code would be written in assembly language as a basic functionality and then this would be used to develop the rest. As alperuzi said, the compiler design course in computer science relates to this and is very interesting. You can find material on this course online too. Go thru it, not that u would/would not understand it at the first go... but a little effort would make it worthwhile.
Reply
BoSZ
Jan 30 2005, 09:39 AM
QUOTE(Hooligan @ Jan 21 2005, 01:37 PM) If you need a C compiler to compile a program in C for example, who made the C compiling program, and how? Does it work from an older programming language, or is there some neat programming trick that I'm missing here? It's a bit puzzling to me. assemblertake a toor of google with this query and you will get the answer
Reply
8bit
Feb 1 2005, 10:01 PM
Delphi > Game Maker > Program Creator > program... So technically somone compiled a program in a program compiled in a compiler in a compiler...dude...that's just stupid
Reply
Recent Queries:--
assembly compiler software - 109.94 hr back. (1)
Similar Topics
Keywords : compiles, software, compiles, software
- Can't Login To Any Software On My Site
anyone know how to fix? (3)
Best Software And Explorer
What do you think is the most useful software (4) What do you think the most useful software out. For me its Aim, xfire, or Notepad. Most people
won't understand notepad but watever. For my favorite Explorer is Firefox. I never upgraded to
3.0 but who cares talk people!....
Beautiful Software
Software with great interfaces (3) I really like using software that have very good user interfaces. Most mac softwares are really
good-looking (Adium, DeliciousLibrary) but most Windows applications are just plain ugly. I was
wondering if you guys to point out some "beautiful" software. To start off I'll mention some.
1. MediaMan (clone of DeliciousLibrary) 2. ReadAir - Google Reader for your desktop (built on Adobe
AIR) 3. Snacker - Another AIR RSS Reader 4. Kaspersky - The new 2009 version have a decent UI 5.
PowerArchiver - For opening zip/rar/7z files + many others others wud include Windows Vi....
Amazing Software
I found this amazing software, if you work with flash.. (0) If you work with flash, this is the coolest software i seen.. You can make amazing things for the
desktop.. check it out.. www.swfmagician.com ....
Free Software For File Recovery
RECUVA (3) Hi all, I was loking for a software to recover my lost files and I found this /biggrin.gif"
style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> And the best part is ,
its free Recuva - File Recovery Recuva (pronounced "recover") is a freeware Windows utility to
restore files that have been accidentally deleted from your computer. This includes files emptied
from the Recycle bin as well as images and other files that have been deleted by user error from
digital camera memory cards or MP3 players. It will even bring back files that have been d....
Best Video Editing Software
(6) Its really distracting seeing people "create" what they think are master pieces on windows movie
maker. Its the lamest and really requires no skill. So im gunna whack my vote on Adobe Premiere Pro
2 and Adobe After Affects 7 combined to make the best in the video editing range. It requires stacks
of skills, you can download plenty of add-on effects and you can futher mod it if you wish in After
Affects. These versions are one behind in the Adobe range since Adobe released its CS3 Prefix to all
their newly upgraded versions. The new CS3 Prefixed Premiere is now compatibl....
Looking For Developers To Help With A Forum Software
(5) Ok so as the topic title says i'm looking for some Developers to help with a forum software.
Just a little back ground on the software. It was started back in 2005, and has been sold 2 times,
the second time which was a few months ago the owner abandoned the project and left it to die.
(which it did) Now under the Licensen it says that you are aloud to make a forked version of the
software, and once you have changed over 50% you may remove all refrence of the orginal script. So
that is what I'm planing on doing. I arleady have one delveloper who was one of the or....
Recomend Me Some Software, Pleaes.
(video editing and capturing) (16) Hey guys, Sorry if this isn't in an appropriate section it's kinda difficult to navigate
all the sections to find one that suits each issue, and from what I can tell there isn't a
general " ask questions here about random stuff" section. I'm sure almost everyone here has
been on YouTube, Google video, or a site like those that contain tutorials for photo shop,
programing, or anything else that you can find on your computer. I was wondering if you guys knew
what kind of software they use? I'm looking to take video of me working on my computer....
Recommend Your Software! (pay Or Freewares)
Let the others know what software is good (12) Softwares with similiar function is many nowdays. It's hard too find one, but why we must find
if someone can recommend it? So guys, please share your recommended or must install software.
Including the price (if pay) and the functions. Ok, I start it first : QUOTE WinAMP -
Multimedia player KLite Mega Codec Pack - Multimedia player & codec Eraser - Erase data
permanently IZArc - Archiving utility (supports 7-ZIP, A, ACE, ARC, ARJ, B64, BH, BIN, BZ2, BZA,
C2D, CAB, CDI, CPIO, DEB, ENC, GCA, GZ, GZA, HA, IMG, ISO, JAR, LHA, LIB, LZH, MDF, MBF, MIM, NRG,
PAK....
Eraser - Erase Your Data Permanently! For Free
A must have software (7) When you delete file and empty recycle bin (Windows), it doesn't actually gone permanently!
Many software can be used to recover those deleted files. Now think and imagine, you've deleted
your personal file or something then someone recover and steal it. Don't worry, Eraser will come
in handy What does it do? It delete files permanently! Nothing and noone can recover it. You
can make previously deleted files not recoverable too by using Erase unused disk space feature. (if
you want to sell your harddisk, use this) How can? It uses the patterns used ....
The Best Free Forum Software
Which one do you choose or using right now? (16) Nowdays, it seems a lot of free forum software developed in the net. Give your opinion about the
best one guys. Also it's cons and pro. thank you. Me myself using MyBB right now, before MyBB,
I've tried phpBB. I like MyBB because it's easy to install it's mod.....
Defraggler - Free Software To Defrag Your File
Try it out (12) Have you all hear a software called Defraggler? Well if not, I recommend you to download this
software. What does it do? Simple, it'll quickly defrag files you want to defrag, no need to
defrag the whole drive. Useful if you have less fragmented file and if you hate Windows's
original defragger. And it's free! OS Supported and filesystem supported? All Windows 2000
or higher (it'll be Windows 2000, 2003, XP and Vista. 64-bit support too) It support NFTS and
FAT32 Requirement? Well not much, the EXE file even smaller than 1 MB (dont judge the power ....
Will Software Development Be Easy One Day ?
as in the case of website development ? (2) hey in todays world building a website is not a big deal , i guess there are so many ways to do that
. Moreover nowdays there are other softwares that ennable you to buld a website. Those were the days
when a website can be built only by peole who can do some codings , that is one must be knowing some
mark up languages like HTML etc,inorder to create a website , Gone are those good old days , now
even a person who does not even know what is HTML too can create a website of his/her own , the
revolution in website creation is that the Macromedia which is now Adobes Dreamw....
Sync Software
Does anyone know any good synchronization software. (3) Hello fellow trap17 members. I have desktop PC and laptop. Did anyone of you used any
synchronization software to synchronize some data from one computer to the other. I have them in
network. I would prefer if it would be some free or something from Microsoft. And if anyone has any
experience please write it ddown. Best Regards....
Top 10 Most Pirated Software On A Coporate & Internet Level
(17) This information is based on the Software & Information Industry Association Report for 2007 and not
overall statistics. 2007 Software Titles Most Frequently Pirated By Companies QUOTE 1.
Symantec Norton Anti-Virus 2. Adobe Acrobat 3. Symantec PC Anywhere 4. Adobe PhotoShop 5. Autodesk
AutoCAD 6. Adobe DreamWeaver 7. Roxio Easy CD/DVD Creator 8. Roxio Toast Titanium 9. Ipswitch WS_FTP
10. Nero Ultra Edition 2007 Software Titles Most Frequently Pirated on the Internet QUOTE 1.
McAfee VirusScan 2. Symantec Norton Anti-Virus 3. McAfee Internet Security Suite....
157 Of The Best Free Software On The Net
Freeware Software List (7) I nearly had a heart attack when I saw this e-magazine (PC Magazine) on a website that will remain
nameless just because of the nature of this website. Anyway with my wonderful pdf extracting skills
I cut the pages down, and if all goes well the links to the original article should still work. So
what kind of software are we talking about well I put it like this you might already have them,
software covers Operating Systems, Antivirus/Anti-Malware, Firewalls, Security, Finance, Office,
Calendar/PIMs, Backup/Sync, App Launchers, Utilities, Downloads, Interface Enhanceme....
What Is The Best Software
what is the best software to recovery the data (5) Hi any one can tell me what is the best software to recovery the data ....
Recovery Cds
Software Needed? (8) I bought a new laptop which is ASUS Model: F3S and I came up with the question how I can make
recovery CDs in the case it will crash. I did not get them when I bought a laptop. Moreover, there
are not build in software to do it. So, help me, please as soon as possible.....
Software Opinions
(15) Hello! I just bought a laptop and I am getting all my software I need for it. I can't decide
whether to get Winamp or use Windows Media Player. Also, should I use OpenOffice or Microsoft Works.
Also I need a good desktop recording program. So what are your opinions?....
Unable To Renew Ip Address Or Connect To Internet After Broadband Software Uninstall
issues after removing DSL software (6) How many of you experienced this? QUOTE Unable to renew IP address Unable to start RPC service
You invite a broadband service, i.e. Verizon DSL, and they provide you with an installation disk.
You gladly use it but later you add LAN to your home and decide to add a router. You follow the
manufacturer's instruction and set up your home network. But this is strange... the computer you
were able to connect to the internet just before a home network is now cannot connect to the
internet. And according to the router manual you installed the program correctly but ....
Aef - Free Forum Software
A New Free Forum Software, Open Source, too (8) The new kid on the block has made quite a positive impression with me. I will be converting my
existing Forums over to this new, fast, easy to install Forum. Features include: QUOTE News
System with articles ShoutBox Suggest Framework for usernames while writing PM's
Threaded Mode for topics Domdrag for reordering Categories, Forums, emoticons (A new feature
included for the first time ever in a forum software.) The features I like about it are the
'included' shoutbox ( simply needs to be activated in the Admin Control Panel), the Ne....
Software To Remove Voice?
(9) I am looking for a free software which is able to remove a voice in a song? To just keep the tune,
something similar to the karaoke, I do know that not many songs provide only the tune for which
there isn't any singing. I have been searching for quite some time as well, but the programs I
found did not do just that. I have also read about how impossible it is to achieve with the programs
because they only filter out some frequencies and it isn't possible to filter out to the point
that only the instrumental part of the song is heard. But nonetheless, I hope someo....
Evilboard (forum Software) - Multiple Categorys - Don't Work :(
I am creating a forum and i can't fix more then 1 category. (6) I am at the moment trying to program my own forum, but i need more then a single category, here is
my source: CODE function cat () { include("functions/functions.php");
echo '<table width="100%" border="0" cellspacing="0">
<tr> <td class="eb_top" colspan="3" style="border-bottom-width:
0; height: 30px; font-size: 12px;"> <b>Forum</b></td>
</tr>'; global $catid; $db = new db; $db->connec....
Kelk 2000
Arabic Calligraphy Software (2) For those people who are interested in Arabic & Persian Calligraphy, Kelk 2000 is here! The four
calligraphy fonts, Naskh, Nastaliq, Thuluth and Shikasta in their current forms, have a history of
over 700 years. During past centuries, the masters of calligraphy have perfected these fonts, and
have created artworks that are pleasing to the eye. The rules of the combination ligatures in
calligraphy are so complicated that it takes years of training and practice for someone to become a
master in one of the Islamic calligraphy fonts. The famous calligraphers have a lifet....
Music Editing Software
music mixing (10) I want to make beats and i want to mix songs together and basicly all those DJ things like making
beats and recording and revising the song. Does anyone know any program like this. Thank you.....
Audio Recording
Looking for software (10) So I'm not quite ready to spend $1500 on a Boss BR-1600 Digital Recording Studio
package...and I know there are many options for recording music through the computer...my biggest
concern is compatibility, quality, and actually I guess...ease of use? I've heard of things
like the Tascam US-122 which works through the USB port, and you can plug guitars and mics directly
into this thing, but for the most part, everything else is done software-wise...on the computer.
Anyone have an idea of the quality of these kind of products? I also know there's a new s....
General Discussion: Artificial Intelligence (AI)
Projects, software, tools... etc. (33) Reading Slashdot , some days ago, found an article about a simulation of the human brain called
Blue Brain . The interesting thing is, could we someday completly emulate the human intelligence?
What about feelings? sensations? Is there a good software to generate and use Artificial Neural
Networks? I know some of them but are dificult to use, like SNNS from Stutgart. ....
Fastest Antivirus & Firewall Software
(44) I did a clean install of Windows XP some time ago.. It returned to the fast speed and all
animations were sleek... Only after I installed Norton AntiVirus and Norton Internet Security, my
computer became slower then before... Startup now takes longer time and the computer seems to
process something even the computer just boot into the desktop... Task Manager shows a jump of
additional processes in the background... I understand that it's all normal to have Norton
AntiVirus to run applications in the background to track virus every micro-second.. so does Norton
Int....
Skype - Free Phone Calls!
Free software download... (6) Skype is free Internet telephony that just works. Skype is for calling other people on their
computers or phones. Download Skype and start calling for free all over the world. Call ordinary
phones from Skype with SkypeOut. Top up on SkypeOut credit and use the Skype programme to call
ordinary phones all over the world. Not free, but pretty cheap. Skype Wins 2005 Webby Award for
Telecommunications The Webby, called the “Oscars of the Internet” by the New York Times, is an award
honoring excellence in Web design, creativity, usability and functionality. SkypeIn and Sky....
Softwares For Banner Making!
Good software for making Banners!! (11) Good Softwares to Make Banners I need a good banner for my website 3dolla, I''m not a
good banner creater can any one tell me a good banner making software that is simple to use. I might
be able to use!! From .::DAMAN::. ....
Looking for compiles, software, compiles, software
|
|
Searching Video's for compiles, software, compiles, software
|
advertisement
|
|