Make C++ Compiler

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Sep 2004
Posts: 7,857
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 755
Team Colleague
Narue's Avatar
Narue Narue is online now Online
Senior Bitch

Re: Make C++ Compiler

 
0
  #11
Sep 11th, 2007
>what are C compilers written in?
C compilers tend to also be C++ compilers, and they're generally written primarily in C or C++.
New members chased away this month: 5
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Make C++ Compiler

 
0
  #12
Sep 12th, 2007
Originally Posted by Killer_Typo View Post

which came first: the chicken or the egg!!
In case of Borland's compilers, they're written mostly in Pascal.
And that includes their Pascal compilers...

They wrote a compiler stub that could compile a minimal subset of the intended language in machine code or Assembly, used that to compile a compiler that could do a bit more of the language, and so on until they had one that could compile the entire language specification.

When they had that they could use that compiler to compile compilers for other languages like C++ and C#.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,273
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Make C++ Compiler

 
0
  #13
Sep 12th, 2007
What is machine code written in logic gates?
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 3
Reputation: Me_Nit is an unknown quantity at this point 
Solved Threads: 0
Me_Nit Me_Nit is offline Offline
Newbie Poster

Truly chicken-egg dilemma ...but not 4 u

 
-2
  #14
Nov 3rd, 2009
Don't worry. u r not writing world's *FIRST* compiler. u can use VC++, Dev-C++, Borland, .Net, Java, or any other language that can process text and can call OS API's 2 write ur compiler.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,267
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 493
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer
 
-1
  #15
Nov 3rd, 2009
Originally Posted by Me_Nit View Post
Don't worry. u r not writing world's *FIRST* compiler. u can use VC++, Dev-C++, Borland, .Net, Java, or any other language that can process text and can call OS API's 2 write ur compiler.
Don't you think it is awkward to write reply for post over 2 years old where discussion died and problem is either solved or forgotten?
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 3
Reputation: Me_Nit is an unknown quantity at this point 
Solved Threads: 0
Me_Nit Me_Nit is offline Offline
Newbie Poster

Re: Making C/C++ compiler

 
0
  #16
Nov 3rd, 2009
Originally Posted by peter_budo View Post
Don't you think it is awkward to write reply for post over 2 years old where discussion died and problem is either solved or forgotten?
I don't find anything wrong in it. May be someone in future will b helped by it. U don't know! And what is lost in the process?
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 113
Reputation: abhi_elementx is an unknown quantity at this point 
Solved Threads: 6
abhi_elementx's Avatar
abhi_elementx abhi_elementx is offline Offline
Junior Poster
 
0
  #17
Nov 3rd, 2009
Hello superiors.
Maybe, the the poster(one who started the thread) was talking about DSLs....like Groovy.
PEACE !
Reply With Quote Quick reply to this message  
Reply

Message:




Views: 7329 | Replies: 16
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC