CrazyEngineers Forum

******************************************
Welcome To CrazyEngineers (CE) – an online community of engineers from all over the world! With the younger CEan at 84 and the youngest at 16, CE boasts of professional engineers, students, professors, entrepreneurs, CEOs, geeks & nerds. We exchange innovative ideas, share knowledge, help each other and expand our worldwide network of engineers! You need not have a formal degree in engineering to be a part of CrazyEngineers! Need we say more?
Join CE! | Be a CE Ambassador! | Forgot password? | Sponsor CE | Contact Us
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Computer Science & IT Engineering
Reply

  #1 (permalink)
Old 11th June 2008, 02:23 AM
CE - Apprentice
 
I'm a Crazy IT Engineer
Join Date: 9th March 2008
Location: Lucknow,India
Posts: 21
Unhappy Can one get the code in which C is written?

Where can 1 get the code of C compiler?

Last edited by zeba : 12th June 2008 at 12:08 AM. Reason: got the answers somewhere else! Won't be easy to express the complete thing.
zeba is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)
Old 11th June 2008, 10:05 PM
CE - Newbie
 
I'm a Crazy Computer Engineer
Join Date: 11th June 2008
Location: Dublin
Posts: 2
Send a message via Yahoo to priyadarshi
Default Re: Can one get the code in which C is written?

(Not just C) where does the code of any language exist? Someone creates some lang.

First doubt- how.(its a question not a doubt)

- You can create you own language but you need to create one compiler/interpreter to understand that.

In which lang. Any?

- ofcourse any, but for that comipler needs to understand what the code means, if any one creates a language say english then compiler should understand english to convert it to Machine Code.

I think, after the lang is created, then the compiler/interpreter must be written. But how are the 2 linked?

- as said above compiler interpreter is needed to convert the High level language to Machine code.

How do the electrons behave in a way that they make the pixels darkened on screen (appearance of code), work according to our expectations????

- Every engineer knows that you must not be a exclusion. Whats the doubt

Compiler understands the lang. BUT who understands the compiler?

- compiler changes the HLL to LLL (Machine code). After that the machine understands that once invoked by loader.

HAVEN'T STUDIED COMPILERS YET.

- is it a Question? if not please format it correctly
priyadarshi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)
Old 16th June 2008, 12:38 AM
CE - Apprentice
 
I'm a Crazy Electrical, Electronics Engineer
Join Date: 14th June 2008
Posts: 22
Default Re: Can one get the code in which C is written?

You can access the CVS repositories of GCC at gnu.org (exact url being GNU C Compiler - CVS Repositories [Savannah] )
If you dont know how to use CVS (or make, for that matter) , you should probably learn that before trying to play around with a codebase as large as gcc
__________________
With complexity comes consciousness
elric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
Reply


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

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



All times are GMT +5.5. The time now is 10:36 PM.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.Ad Management by RedTyger