Pharo snippet

With a Pharo snippet, a Lepiter document transforms into a typical Playground or Workspace in a Smalltalk system.

Beside typical abilities to expect from a Playground, every Pharo snippet is also populated with a thisSnippet variable pointing to ... well, the object representing that snippet.

thisSnippet
  

This is particularly interesting because it provides a way to access the Lepiter knowledge base:

thisSnippet database
  

Of course, you can also access the current page in a similar fashion:

thisSnippet page