Skip to content

Instantly share code, notes, and snippets.

@jhchabran
Created July 25, 2010 17:47
Show Gist options
  • Save jhchabran/489719 to your computer and use it in GitHub Desktop.
Save jhchabran/489719 to your computer and use it in GitHub Desktop.
Usine := Object clone do (
/* (...) */
declare := method (factory,
object := Object clone
call sender setSlot(call argAt(1) name, object)
call sender appendProto(DummyObject)
call evalArgAt(2)
factories setSlot(factory,object)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment