BF interpreter

2002-05-30 Thread Leon Brocard
Hello. I've been looking at languages to run under Parrot, and I choose a certain language which is turing complete in eight instructions. Start with the small ones eh? Unfortunately its name is not family friendly. An interpreter is attached, although you'll need to add the chr() operator (see

Re: BF interpreter

2002-05-30 Thread Clinton A. Pierce
At 11:09 AM 5/30/2002 +0100, Leon Brocard wrote: Hello. I've been looking at languages to run under Parrot, and I choose a certain language which is turing complete in eight instructions. Start with the small ones eh? Unfortunately its name is not family friendly. An interpreter is attached,

Re: BF interpreter

2002-05-30 Thread Leon Brocard
Clinton A. Pierce sent the following bits through the ether: If you'd like a pure-PASM chr() operator, see the BASIC interpreter in expr.pasm. I essentially do (everything in BASIC is on the stack...excuse the restore and saves...): Oooh, interesting hack! Of course, the discussion that