473,226 Members | 1,518 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,226 software developers and data experts.

is there any good c interpreter?

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

Oct 1 '06 #1
12 15986

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
yuesefa wrote:
i am looking for an open source c interpreter. Thanks ;-) ,
gcc

Oct 1 '06 #3

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
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
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Donnie Leen | last post by:
I wrote a program embbed boost.python, each thread running a sub-interpreter, i made a module implement by boost.python, and i wish this module imported in each sub-interpreter, i find that the...
0
by: adam | last post by:
Hello, I want a good book that help me do a perl program that is used as interpreter for a small, BASIC-like language. I need a good book that help me doing this please if there is a good...
59
by: seberino | last post by:
I've heard 2 people complain that word 'global' is confusing. Perhaps 'modulescope' or 'module' would be better? Am I the first peope to have thought of this and suggested it? Is this a...
9
by: myhotline | last post by:
Hi all, After googling i came across Pelles C, is it a good C compiler over Windows( I am using Windows Xp )...Though Pelles C website says its a C99-compliant compiler, even though i would like...
9
by: johan.tibell | last post by:
I'm in the process of writing an interpreter for lambda calculus (i.e. a small functional programming language) in C. I've previously written one in Haskell so I understand at least some of the...
3
by: Robin Becker | last post by:
As part of some django usage I need to get some ReportLab C extensions into a state where they can be safely used with mod_python. Unfortunately we have C code that seems incompatible with...
4
by: Garg | last post by:
Hi All, Can you suggest me the a good editor fot HTML and Javascript. It will be good if that also support JSP. thanks Tarun Garg
206
by: WaterWalk | last post by:
I've just read an article "Building Robust System" by Gerald Jay Sussman. The article is here: http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf In it there is a...
3
by: Siegfried Heintze | last post by:
I need to understand some User32.dll functions and I'm making an elaborate GUI so I can easily experiment with different parameters. This is taking a long time. I'm new to python and I'm thinking...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.