Jump to content

Interactive Complier in C++?

- - - - -

  • Please log in to reply
9 replies to this topic

#1
Marwanok

Marwanok

    Newbie

  • Members
  • PipPip
  • 12 posts
Is it possible to make an interactive compiler in C++??

Edited by Marwanok, 19 January 2011 - 08:07 PM.


#2
sam_l

sam_l

    Learning Programmer

  • Members
  • PipPipPip
  • 52 posts
It's not really a good idea, but yes, theoretically you can allow users to run un-vetted code willy-nilly on your server. Also, congratulations on your shameless plug to essentially a replicant of this site.

#3
Marwanok

Marwanok

    Newbie

  • Members
  • PipPip
  • 12 posts
just an idea.

#4
Skippy

Skippy

    Programmer

  • Members
  • PipPipPipPip
  • 146 posts

Marwanok said:

OK. first of all, the site just started so yes its gonna be like this site when it starts,2 its just an idea. Chill man.

If the site just started or not, you are advertising your website in the wrong section
Marketing

It's quite a different idea. But, because it's different it's new and it may grab people's attention, or it may not. It's up to how powerful and innovative you make it.

#5
Marwanok

Marwanok

    Newbie

  • Members
  • PipPip
  • 12 posts
Well im not advertising the site im just asking if it could be possible to make a C++ compiler, this forum is called C and C++

#6
Skippy

Skippy

    Programmer

  • Members
  • PipPipPipPip
  • 146 posts

Quote

Last edited by Marwanok; Today at 08:07 PM.

...on the original post...

you aren't fooling anyone.

#7
Marwanok

Marwanok

    Newbie

  • Members
  • PipPip
  • 12 posts
oh i just changed it because it was a little of topic so i changed it to the main idea, sorry about that
My Website, www.codeprogramwriting.com

#8
Skippy

Skippy

    Programmer

  • Members
  • PipPipPipPip
  • 146 posts
It's OK buddy, I ain't mad. Just don't try to act like nothing happened after two people already mentioned that it did.

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!


#9
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
This applies to any compiler, so it should really go in general programming.

Quote

Is it possible to make a chat that it a complier for C++, so pretty much people can all be in the same compiler on a website while chatting inside the compiler, its an idea for apart of my website, let me know what you think.

From your original post I gathered two or more people can edit the same source file, you can design an autocommitting form or application, and have it compile when a command is sent, spouting out the output to both/all users. In fact this can pretty much be done in AJAX/PHP, although that is a security risk as implied before.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#10
Xupicor

Xupicor

    Learning Programmer

  • Members
  • PipPipPip
  • 46 posts
Are you talking about something like geordi - C++ eval bot? Or do you mean something like interactive C++ interpreter? Cause "chatting inside the compiler" doesn't make any sense to me.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users