Menu

Tree [r214] /
 History

HTTPS access


File Date Author Commit
 Console 2007-08-24 bergman77 [r214]
 DOCUMENTATION 2007-08-14 lillybug0 [r207]
 FunT 2007-08-13 vgoraz [r164]
 LexerParser 2007-08-05 bergman77 [r93]
 PythonObject 2007-08-24 bergman77 [r214]
 SymT 2007-08-14 bergman77 [r206]
 assemblies 2007-07-23 lillybug0 [r22] CSUnit assemblies was added.
 doc 2007-08-14 lillybug0 [r205] Final .pdf
 655_python_sample_to_PL0.ncb 2007-07-21 bergman77 [r10] shain's initial python code
 655_python_sample_to_PL0.sln.recipe 2007-07-21 bergman77 [r10] shain's initial python code
 Antlr3.Runtime.dll 2007-07-21 bergman77 [r10] shain's initial python code
 Antlr3.Utility.dll 2007-07-21 bergman77 [r10] shain's initial python code
 DIRECTRUN.bat 2007-08-14 vgoraz [r199]
 README.txt 2007-08-14 lillybug0 [r207]
 RUNME.bat 2007-08-14 vgoraz [r196]
 StringTemplate.dll 2007-07-21 bergman77 [r10] shain's initial python code
 TroikaPython_Project_655.sln 2007-08-12 bergman77 [r148]
 TroikaPython_Project_655.sln.recipe 2007-08-14 vgoraz [r184]
 antlr.runtime.dll 2007-07-21 bergman77 [r10] shain's initial python code
 farhadTests.txt 2007-08-13 bergman77 [r169]

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.