Read Me
Welcome to The Troika Python Interpreter.
Quick Start Guide:
1. Double click on DIRECTRUN
2. Reference the User's Guide (Section 3 of DOCUMENTATION\Restricted_Python_Interpreter Manual.pdf) on what our Python Interpreter can do.
More Detailed Guide:
In order to run our Interpreter you should start it from the command prompt.
It is called ConsolePy.exe and is found in the Console\bin\Debug of the location you placed our project.
We have provided a shortcut RUNME that will start the command prompt and take you to the correct directory. Therefore all you
need to do is to type Console.Py.exe plus any flags (unfortunately they are not implemented) and the interpreter will run.
We have also provided a direct link that will start the intepreter called DIRECTRUN.
To start either of these simply double click on the respective filename.
Enabling Debug Mode:
Our Interpreter has a debug mode. The debug mode is used if you need a more verbose output in trying
to determine what your code is doing. It will output the Abstract Syntax Tree in paranthesis form (it
is actually best to use the xml output), allow files to be used as input (using F12). For more info
on these extra types of output, see their respective sections in our Documentation.
To enable Debug Mode, open Console\app.config in an editor and change the value of the key debugMode to true.
Then Recompile.
Disabling Debug Mode:
To disable Debug Mode, open Console\app.config in an editor and change the value of the key debugMode to false.
Then Recompile
How to Recompile:
Open TroikaPython_Project_655.sln in Visual Studio.
In the toolbar, select Build -> Solution.