Skip to content

Instantly share code, notes, and snippets.

@lsparrish
Created October 3, 2012 03:02
Show Gist options
  • Select an option

  • Save lsparrish/3824704 to your computer and use it in GitHub Desktop.

Select an option

Save lsparrish/3824704 to your computer and use it in GitHub Desktop.
needs struct'
with struct'
: clone' ( a-a ) here 2dup swap size dup push allot pop copy ;
{ 2 fields .name .personal-dict } user
: ;parse ( "-$ ) '; accept tib keepString ;
: name: ( a"- ) ;parse swap .name ! ;
user luke
luke name: Luke Parrish;
chain: my'
: myfoo "The only word I have!" puts bye ;
;chain
d' my'
luke .personal-dict !
last @ @ !last
luke .personal-dict @
without
@d->xt .chain
words
myfoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment