473,378 Members | 1,309 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,378 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 16003

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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.