Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I write compiler for my program.
Is there any books to learning how to write Compiler in .net?
please help me?
Posted
Comments
Rob Philpott 28-Nov-11 4:33am    
Why on earth would you want to do that? Visual Studio comes with a very good compiler. This is not a simple thing to do, at all. If you must then take a look at the Mono project to give you some idea what you're up against. I believe they have a C# compiler capable of compiling itself.
[no name] 28-Nov-11 4:34am    
write compiler?? VS? google it
Sergey Alexandrovich Kryukov 12-Nov-12 13:40pm    
Do something which better matches your skills. I'm saying so because I just looked through some of your questions.
Also, please stop "answering" your own question. What is outrageous, you even accept them formally. I have no idea why would you do it, but it looks like cheating, sorry. Just don't do it.
--SA

 
Share this answer
 
Comments
RaviRanjanKr 28-Nov-11 10:03am    
My 5+
Anuja Pawar Indore 29-Nov-11 0:52am    
Thanks Ravi :)
Interesting articles can be found in this blog[^].

Also you can read this[^].

And in this[^] question you can find a huuuuuge count of links to articles.
 
Share this answer
 
You may split your learning task in two fields:
  • How to build a compiler (there are many many books about).
  • Gain a deep knowledge of the programming language used to actually build the compiler (and, again, there are many many books on C# programming language).


You may also find useful a tool like ANTLR[^] (it's 'natural' target is Java, but C# is supported as weel, see: "ANTLR3 Code Generation Targets"[^]).
 
Share this answer
 
Comments
msh66 4-Dec-11 3:34am    
thanks
Sergey Alexandrovich Kryukov 12-Nov-12 13:38pm    
My 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900