User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 363,809 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,590 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser:
Views: 535 | Replies: 9
Reply
Join Date: Apr 2008
Posts: 3
Reputation: Little Princess is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Little Princess Little Princess is offline Offline
Newbie Poster

Compiler of C

  #1  
Apr 21st, 2008
Hi,all everybody I just curious how C can be made. Do any of you know it??
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2004
Posts: 5,872
Reputation: Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold 
Rep Power: 24
Solved Threads: 386
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: Compiler of C

  #2  
Apr 21st, 2008
We have an active forum devoted to C. I'd wager that one or two of us know it. Can you be more specific about "how C can be made"? Do you mean how to compile C source? How to write a compiler?
Member of: Beautiful Code Club.
Reply With Quote  
Join Date: Apr 2008
Posts: 3
Reputation: Little Princess is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Little Princess Little Princess is offline Offline
Newbie Poster

Re: Compiler of C

  #3  
Apr 21st, 2008
Oh,I mean that how C was written??With what language and how was the process?Because I'm still new in studying it.. Thanks a lot..
Reply With Quote  
Join Date: Sep 2004
Posts: 5,872
Reputation: Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold 
Rep Power: 24
Solved Threads: 386
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: Compiler of C

  #4  
Apr 21st, 2008
I believe the first C compiler was written in assembly language. Subsequent compilers have been written primarily in C and later, C++. However, that has nothing to do with learning C. You're really better off focusing on learning the basics of the language and saving history for later.
Member of: Beautiful Code Club.
Reply With Quote  
Join Date: Apr 2008
Posts: 3
Reputation: Little Princess is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Little Princess Little Princess is offline Offline
Newbie Poster

Re: Compiler of C

  #5  
Apr 21st, 2008
Oh,in assembly language?Really? So it doesn't make with any process of compilers that we have known. i mean,not with lexical,syntax analyzer,etc??
Reply With Quote  
Join Date: Sep 2004
Posts: 5,872
Reputation: Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold Narue is a splendid one to behold 
Rep Power: 24
Solved Threads: 386
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: Compiler of C

  #6  
Apr 21st, 2008
Um, what? I'm not sure I understand what you're trying to ask.
Member of: Beautiful Code Club.
Reply With Quote  
Join Date: Dec 2005
Posts: 2,919
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 18
Solved Threads: 322
Colleague
Salem's Avatar
Salem Salem is offline Offline
void main'ers are DOOMed

Re: Compiler of C

  #7  
Apr 21st, 2008
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Reply With Quote  
Join Date: May 2006
Location: India
Posts: 247
Reputation: hammerhead is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 24
hammerhead's Avatar
hammerhead hammerhead is offline Offline
Posting Whiz in Training

Re: Compiler of C

  #8  
Apr 21st, 2008
All compilers follow certain processes such as lexical analysis, syntax analysis semantic analysis etc in one way or another.
There are 10 types of people in the world, those who understand binary and those who don't.

All generalizations are wrong. Even this one.
Reply With Quote  
Join Date: Jan 2008
Posts: 1
Reputation: sivasayanth is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sivasayanth sivasayanth is offline Offline
Newbie Poster

Re: Compiler of C

  #9  
Apr 24th, 2008
Originally Posted by Little Princess View Post
Hi,all everybody I just curious how C can be made. Do any of you know it??

I hope this link will help you
enjoy this link to get the idea
Reply With Quote  
Join Date: Dec 2007
Posts: 1
Reputation: oi2005 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
oi2005 oi2005 is offline Offline
Newbie Poster

Re: Compiler of C

  #10  
May 6th, 2008
C are written probably using bison(syntax) and lex(lexical) analisators. if you want to get more information about "how to write your own programming language" you have to read book "Red dragon". And if you also have anything questions, try to ask me because in university I'm writing own scripting language such as python. I have some simple sources, but not complete project yet.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Computer Science and Software Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Computer Science and Software Design Forum

All times are GMT -4. The time now is 11:32 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC