[Tutor] Does Python have pointers?

Kent Johnson kent_johnson at skillsoft.com
Fri Oct 1 23:13:31 CEST 2004


I don't think you need pointers for this project. The BF page talks about 
memory pointers, but they are for the BF virtual machine - the model seen 
by the BF programmer. You can implement this model any way you want. I 
would start with two lists - one for the program and one for the data 
space. Then the pointers are actual just indices into the data list.


Kent

At 08:02 PM 10/1/2004 +0200, Mark Kels wrote:
>Hi all,
>
>I want to make an interpreter for BF (more info -
>http://home.wxs.nl/~faase009/Ha_BF.html) in Python.
>To do it I guess I need to use pointers, but I never heard about
>pointers in Python...
>Can Python work with pointers (or anything else that can be useful) ?
>If not, what do I need to do to write this project ?
>
>Thanks.
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list