Skip to main content

An interpreter for C++ for easy prototyping and testing

Project description

This program simulates an interpreter for C++ in that it allows one to execute individual statements one at a time. It could be used for quick testing and prototyping. It is built to work on Linux operating systems. Here is an example of a possible cppInterpreter session:

C++ : int i;

C++ : int j;

C++ : i=1; j=2;

C++ : cout << i+j;

3

C++ : cout << “Hello World!”;

Hello World!

C++ : int add(int a, int b){

… : return a+b;

… : }

C++ : int k = add(2,3);

C++ : cout << k;

5

C++ :

More information is available in the included help file help.txt.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CppInterpreter-1.0.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page