err. You make sure you have python 2.7 installed, and that .py files are associated with python.
Then you go to the folder (affter unzipping it).
Then you double click on interp_2.py
then type the name of the ~ATH script.
You don't have to "install" the interpreter. You just run it.
The main reason I would like to avoid using
A.PROMPT();
is that it would change what object A points to, instead of changing the object that A points to.
Unlike A.DIE(); which kills the object that A points to, not A itself. (as A is a variable that points to an object, and as such has no alive/dead state)
I am working on implementing input.
I think it is almost working.
It is not yet on github.
For now I will be using
INPUT VARNAME;
for getting text input.
Currently there is no way to tell what object corresponds to what character (though a character will always correspond to the same object)
So you would pretty much have to ask the user to type in all the characters you would be using.
I don't feel this is entirely satisfying, so I am open to suggestions on what type of syntax should be used to make a certain pre specified character's object be pointed to by a variable.
Also, there will be a variable called NULL that by default will contain an object that is already dead.
Suggestions open on whether this variable should have a different name.
edit: I might edit this post to improve my responces, because I feel that my responces are incomplete.



Reply With Quote

