Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!nerds-end From: Colin Paul Gloster Newsgroups: comp.compilers Subject: Re: Searching for a C/C++ Interpreter written in pure Java Date: Tue, 1 Feb 2011 07:55:20 -0500 (EST) Organization: Compilers Central Lines: 29 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <11-02-003@comp.compilers> References: <11-01-107@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: gal.iecc.com 1296583682 83523 64.57.183.58 (1 Feb 2011 18:08:02 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Tue, 1 Feb 2011 18:08:02 +0000 (UTC) Keywords: C, Java Posted-Date: 01 Feb 2011 13:08:02 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:983 Michael Hielscher sent: |----------------------------------------------------------------------| |"[..] | | | |Maybe somebody has already started or done a project in this direction| |or has written a C/C++ grammar for a compiler compiler that produces | |Java code." | |----------------------------------------------------------------------| Grammars for many languages including an approximation of C++ have been available for the Java Compiler Compiler (JavaCC, not to be confused with javac) for many years. Steven Shaw sent: |------------------------------------------------------------| |"You could use Cint - the only C and C++ interpreter I know.| | | | http://root.cern.ch/drupal/content/cint | | | |[..]" | |------------------------------------------------------------| I advise against this. Do you actually use Cint? I use a codebase by someone who uses ROOT (which officially Cint is not a part of, though aside from early versions they are packaged together). ROOT is very buggy. Yours sincerely, Colin Paul Gloster