By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,329 Members | 1,731 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,329 IT Pros & Developers. It's quick & easy.

is there any good c interpreter?

P: n/a
i am looking for an open source c interpreter. Thanks ;-) ,

Oct 1 '06 #1
Share this Question
Share on Google+
12 Replies


P: n/a

yuesefa wrote:
i am looking for an open source c interpreter. Thanks ;-) ,
As far as I know, writing a small C interpreter with Bash is NOT a hard
work. ;-p

Oct 1 '06 #2

P: n/a
yuesefa wrote:
i am looking for an open source c interpreter. Thanks ;-) ,
gcc

Oct 1 '06 #3

P: n/a

clayne wrote:
yuesefa wrote:
i am looking for an open source c interpreter. Thanks ;-) ,

gcc
I was going to say that :)

Oct 1 '06 #4

P: n/a
yuesefa said:
i am looking for an open source c interpreter. Thanks ;-) ,
http://root.cern.ch/root/Cint.html

I was going to tell you about EiC but I couldn't find it anywhere!

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 1 '06 #5

P: n/a
yuesefa wrote:
i am looking for an open source c interpreter. Thanks ;-) ,
TCC (for Tiny C Compiler) is a small, fast, unlimited and safe ANSI C
compiler. It generates optimized x86 code, and can compile, assemble,
and link several times faster than 'gcc -O0'. Any C dynamic library
can be used directly. It includes an optional memory and bounds
checker, and bounds-checked code can be mixed freely with standard
code. C script is also supported via the usual hash-bang mechanism.
Oct 1 '06 #6

P: n/a
writing a code for it is not too hard
http://atrieecs.seo.iitm.ac.in/

yuesefa wrote:
i am looking for an open source c interpreter. Thanks ;-) ,
Oct 1 '06 #7

P: n/a
Espen Myrland wrote:
>yuesefa wrote:
>>i am looking for an open source c interpreter. Thanks ;-) ,

TCC (for Tiny C Compiler) is a small, fast, unlimited and safe ANSI C
compiler.
But it's not an interpreter?
Oct 1 '06 #8

P: n/a
jmcgill <jm*****@email.arizona.eduwrites:
Espen Myrland wrote:
yuesefa wrote:
i am looking for an open source c interpreter. Thanks ;-) ,
TCC (for Tiny C Compiler) is a small, fast, unlimited and safe ANSI C
compiler.

But it's not an interpreter?

Frogot to provide a link to the project pages:
http://fabrice.bellard.free.fr/tcc/
You can invoce it as an interpreter in a posix compatible system with a
shebang line like ie feks:

#!/usr/bin/tcc

Really funny little devil.
--
/myr
Oct 1 '06 #9

P: n/a
Espen Myrland wrote:
Frogot to provide a link to the project pages:
http://fabrice.bellard.free.fr/tcc/
Okay, so why is tcc reinventing the wheel here rather than just helping the
gcc project in the first place - possibly with a small-gcc branch, etc.? I
see the need for ultra small compilation packages - but not for another
opensource compiler, currently.
Oct 1 '06 #10

P: n/a
Christopher Layne wrote:
Espen Myrland wrote:
>>Frogot to provide a link to the project pages:
http://fabrice.bellard.free.fr/tcc/

Okay, so why is tcc reinventing the wheel here rather than just helping the
gcc project in the first place - possibly with a small-gcc branch, etc.? I
see the need for ultra small compilation packages - but not for another
opensource compiler, currently.
I do not know about the specific reasons of the tcc makers but
maybe they just _wanted_ to start from scratch or they did not
want to have a monopoly of open source compilers or they did not
like the nose of someone at the gcc project or wanted to reserve
the right to change the license at some point in the future or...

As far as I am concerned, they are welcome to their own compiler
and I am happy to know its out there and free :-)
Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Oct 1 '06 #11

P: n/a
Christopher Layne wrote:
Espen Myrland wrote:
>Frogot to provide a link to the project pages:
http://fabrice.bellard.free.fr/tcc/

Okay, so why is tcc reinventing the wheel here rather than just helping the
gcc project in the first place - possibly with a small-gcc branch, etc.? I
see the need for ultra small compilation packages - but not for another
opensource compiler, currently.
tcc has different goals than gcc.
And perhaps the author just thinks it's a fun project to do ?

It's not interpreter btw. For a C interpreter, search for
Cint or Ch.
Oct 2 '06 #12

P: n/a
Richard Heathfield schrieb:
yuesefa said:

>>i am looking for an open source c interpreter. Thanks ;-) ,


http://root.cern.ch/root/Cint.html

I was going to tell you about EiC but I couldn't find it anywhere!
CINT is developed by Masaharu Goto

considered Harmful - not!
Oct 4 '06 #13

This discussion thread is closed

Replies have been disabled for this discussion.