[Factor-talk] attempting to write a document spell-checker yields out of memory

2010-03-01 Thread Terrence Brannon
! I get an out of memory error with the document below when I call it with she hit her hard spell USING: assocs hashtables kernel locals sequences splitting ; IN: factor-4gl.spell : dictionary-words ( -- seq ) he hit her hard split ; :: (mk-lookup) ( hashtable seq -- ) seq [ 1 swap

Re: [Factor-talk] attempting to write a document spell-checker yields out of memory

2010-03-01 Thread Samuel Tardieu
2010/3/1 Terrence Brannon scheme...@gmail.com ! I get an out of memory error with the document below when I call it with she hit her hard spell : spell ( string -- seq ) split spell ; Looks like a plain old infinite recursion to me. Didn't you mean (spell) instead?

Re: [Factor-talk] attempting to write a document spell-checker yields out of memory

2010-03-01 Thread Terrence Brannon
On Mon, Mar 1, 2010 at 1:23 PM, Samuel Tardieu s...@rfc1149.net wrote: 2010/3/1 Terrence Brannon scheme...@gmail.com ! I get an out of memory error with the document below when I call it with she hit her hard spell : spell ( string -- seq ) split spell ; Looks like a plain old infinite