473,405 Members | 2,334 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,405 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 16008

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.