Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is it necessary to install Any API ?
Posted
Updated 24-Dec-14 0:31am
v3
Comments
Kornfeld Eliyahu Peter 24-Dec-14 6:23am    
Knowledge. No.
Tomas Takac 24-Dec-14 6:26am    
Why do you think ASP.NET would help you develop a C compiler or any compiler for that matter? Seems totally unrelated to me.
Ni!E$H_WAGH 24-Dec-14 6:32am    
I just want required Things to do while developing a Hosted Compiler .
Tomas Takac 24-Dec-14 6:37am    
Why would you need such list? Start developing and you see whats needed. I fail to see how a checklist would help you in any way.
Praveen Kumar Upadhyay 24-Dec-14 6:33am    
Not a question at all. You want to develop the compiler, do you even know what is the compiler?

1 solution

Start with an existing C compiler: Google will help you find one, there are quite a few open source examples.

But...why would you want to do that? What use is it going to be? What target environment are you going to compile for? PC? Which variant? DOS? Windows XP? Win7 or Win8? 32 or 64 bit? And what if I am using my Android tablet? Or an iPhone? Are you going to provide C targets for every possibility?

Or do you want to run the code on your web server? Because if you do, I hope like heck we don't share a hosting service...you have no idea what the code you compile is going to try and do, so it gets very dangerous to execute it...
 
Share this answer
 
Comments
Ni!E$H_WAGH 24-Dec-14 6:40am    
On Web server Just simple block of C Code and displaying output.
A website which accept C code and after clicking Submit button it will show the output.
OriginalGriff 24-Dec-14 6:58am    
You do realise that this is extremely dangerous?
You are going to have to provide some library functions (or they can't even use printf) but what if they start using IO functions like "remove" and specify your website files? Or start using your email system to send spam, or...

There are a lot of dangers here, and if you don't know what you are doing then I suspect you are going to leave yourself wide open to a lot of them. I'd think very, very carefully before I did anything like this project.

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