demo/intprt_cint/README

Description:=================================================================

 This directory contains demonstration that cint interprets over 40,000 lines
cint source code itself. Interpreted cint interprets another C/C++ source
code. This demonstration is very slow and not practical at all but just 
showing how solid cint is.


Files:=======================================================================

  testmain.c	: Top level main() source code for interpreted cint
  CINT		: Shell script to start interpreted cint
  simple.cxx	: Simple C++ program to be interpreted by interpreted cint.
  simple.c	: Simple C program to be interpreted by interpreted cint.


Run the demo:================================================================

  To start interpreted cint, just type 'CINT'. It shows a couple of warning
 statement then debugger prompt will appear in about 10 seconds. You can 
 try evaluating C/C++ expression here.

	$ CINT
	       .
	FILE: LINE:0 G__testmain.c> p printf("abcde %d %g\n",1+2,3.14*4)
	abcde 3 12.56
	(int)14
	FILE: LINE:0 G__testmain.c> q
	$

  You can run simple.cxx and simple.c as follows. 

	$ CINT simple.cxx
	$ CINT simple.c
	       
  It is very slow and could be boring, so try -T (trace) option.

	$ CINT -T simple.cxx
	$ CINT -T simple.c
