Perl 6
Default SMOP Interpreter Implementation: Revision 5

The default SMOP Interpreter Implementation (aka SLIME) implements simply a frame object that have nodes. The parts of this implementation are:

  • A Node prototype and its instances
  • A Frame prototype and its instances
  • Lowlevel operators that manipulate the Frame

SMOP__SLIME__Node

The Node prototype just declares an object that have a set of members.

  • responder
  • identifier
  • capture
  • debug
  • result
  • jail

This members can be passed to Node.new() as named arguments.

SMOP__SLIME__Frame

The Frame prototype defines the implementation in itself, it's the one with the "eval" method. It has the following members.

  • lexical
  • back
  • nodes
  • current

And the following methods:

  • new(SMOP__SLIME__Frame: *@nodes) -- creates a new frame object defining the nodes.
  • next($frame: ) -- goes to the next node in the stack, possibly drop frames.
  • goto($frame: $node) -- sets the node as the currently selected node.
  • eval($frame: ) -- evaluates the currently selected node and stores the result in the result field of the node.
  • result($frame: $count) -- gets the result of the past node that is $count away from the current node.
  • has_next($frame: ) -- returns true if there's any more node to eval.
  • setr($frame: $value) -- sets the result of the current node to the given value.

Upload Files

Click "Browse" to find the file you want to upload. When you click "Upload file" your file will be uploaded and added to the list of attachments for this page.

Maximum file size: 50MB

 
 
 
File Name Author Date Uploaded Size

Save Page As

Enter a meaningful and distinctive title for your page.

Page Title:

Tip: You'll be able to find this page later by using the title you choose.

Page Already Exists

There is already a page named XXX. Would you like to:

Save with a different name:

Save the page with the name "XXX"

Append your text to the bottom of the existing page named: "XXX"

Upload Files

Click "Browse" to find the file you want to upload. When you click "Add file" this file will be added to the list of attachments for this page, and uploaded when you save the page.

 
 
 
Add Tags

Enter a tag and click "Add tag". The tag will be saved when you save the page.

Tag: 

Suggestions: