http://www.perlmonks.org?node_id=480164


in reply to Ook interpreter

On my system (AS Perl 5.8, WinXP), it runs for ages and then segfaults.


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: Ook interpreter
by GrandFather (Saint) on Aug 02, 2005 at 21:56 UTC

    Seems likely to have been due to missing white space after the last instruction in the Ook code. The interpreter should handle that better now.


    Perl is Huffman encoded by design.
Re^2: Ook interpreter
by GrandFather (Saint) on Aug 02, 2005 at 18:44 UTC

    I'm running AS Perl 5.8.7 built for MSWin32-x86-multi-thread. Only thing I can think of is that the data has been corrupted in some fashion. The parsing is not exactly robust :).

    Should I do a "debugging" version that limit the number of instructions executed and traces execution?


    Perl is Huffman encoded by design.
Re^2: Ook interpreter
by esskar (Deacon) on Aug 02, 2005 at 13:36 UTC
    runs just fine under AS perl, v5.8.6 built for MSWin32-x86-multi-thread (XP prof)