Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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. Requires g++ and nano. 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++ :

Contact me to ask questions or give comments on how to improve my code.

Project details


Release history Release notifications

This version
History Node

1.1.0

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page