http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&feed=atom&action=history
User:Zarutian/Smallcaps - Revision history
2024-03-19T09:59:32Z
Revision history for this page on the wiki
MediaWiki 1.15.5-7
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=2046&oldid=prev
Zarutian: edit 5 in editstream
2010-09-09T12:14:10Z
<p>edit 5 in editstream</p>
<p><b>New page</b></p><div>Notes of what I have gleaned from the incomplete spefication and implementation of Smallcaps.<br />
<br />
Smallcaps is a bytecode based format of executable code.<br />
<br />
The opcodes are:<br />
<br />
Hex Memnomic Effects/Description<br />
<br />
0x01 OP_DUP [x],[] => OP_DUP => [x, x],[]<br />
0x02 OP_POP [x],[] => OP_POP => [],[]<br />
0x03 OP_SWAP [x, y],[] => OP_SWAP => [y, x],[]<br />
0x04 OP_ROT [x, y, z],[] => OP_ROT => [y, z, x],[]<br />
0x05 OP_RETURN [x],[] => OP_RETURN<br />
<br />
0x08 OP_JUMP [],[] => OP_JUMP(label) => [],[]<br />
label := ?Waterken Wholenum?<br />
0x09 OP_BRANCH [ootEjector, flag],[] => OP_BRANCH => [],[]<br />
0x0A OP_CALL_ONLY [recip, args...],[] => OP_CALL_ONLY(verb, arity) => [],[]<br />
0x0B OP_CALL [recip, args...],[] => OP_CALL(verb, arity) => [result],[]<br />
verb := ?Waterken UTF8 string?<br />
arity := ?Waterken Wholenum?<br />
<br />
0x0E OP_EJECTOR_ONLY [],[] => OP_EJECTOR_ONLY(label) => [ejector],[handler] <br />
when ejector is invoked: [...],[...] => ejector(_) => [],[]<br />
0x0F OP_EJECTOR [],[] => OP_EJECTOR(label) => [ejector],[handler]<br />
when ejector is invoked: [...],[...] => ejector(result) => [result],[]<br />
0x10 OP_TRY [],[] => OP_TRY(label) => [],[handler]<br />
when handler is invoked: [...],[...] => handler(arg) => [arg],[]<br />
when handler is dropped: [...],[...] => handler.drop(_) => [...],[...]<br />
0x11 OP_UNWIND [],[] => OP_UNWIND(label) => [],[handler]<br />
when handler is invoked: [...],[...] => handler(arg) => [rethrower(arg)],[]<br />
when handler is dropped: [...],[...] => handler.drop(pc) => [returner(pc)],[]<br />
0x12 OP_END_HANDLER [],[handler] => OP_END_HANDLER => [],[]<br />
<br />
0x16 OP_WHOLE_NUM [],[] => OP_WHOLE_NUM(wholeNum) => [wholeNum],[]<br />
0x17 OP_NEG_INT [],[] => OP_NEG_INT(wholeNum) => [-wholeNum],[]<br />
0x18 OP_FLOAT64 [],[] => OP_FLOAT64(float64) => [float64],[]<br />
0x19 OP_CHAR [],[] => OP_CHAR(chr) => [chr],[]<br />
0x1A OP_STRING [],[] => OP_STRING(str) => [str],[]<br />
0x1B OP_TWINE [],[] => OP_TWINE(twine) => [twine],[]<br />
0x1C OP_TRUE [],[] => OP_TRUE => [true],[]<br />
0x1D OP_FALSE [],[] => OP_FALSE => [false],[]<br />
0x1E OP_NULL [],[] => OP_NULL => [null],[]<br />
0x1F OP_SCOPE [],[] => OP_SCOPE => [scope],[]<br />
0x20 OP_OBJECT [ivars..., auditors...],[] => OP_OBJECT(wholeNum numOfFields, wholeNum scriptIndex) => [object],[]<br />
metanote: hypothesis: OP_OBJECT takes these immitiate args:<br />
wholenum of ivarAuditorpairs to pop of the stack<br />
some sort of reference to code that handles calls and sends to the object<br />
0x21 OP_LIST_PATT [optEjector, specimen],[] => OP_LIST_PATT(n) => [optEjector, specimen[n-1]..., optEjector, specimen[0]]<br />
metanote: is n a wholenum?<br />
0x22 OP_CDR_PATT<br />
<br />
0x28 OP_NOUN<br />
+addrMode<br />
0x30 OP_SLOT<br />
+addrMode<br />
0x38 OP_ASSIGN<br />
+addrMode<br />
0x40 OP_BIND<br />
+addrMode<br />
0x48 OP_BIND_SLOT<br />
+addrMode<br />
<br />
[[User:dash|dash]] pointed me to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/doc/smallcaps.txt which is also a bit stale and to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/esrc/com/twistedmatrix/ecru/compiler.emaker<br />
<br />
http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head%3A/src/vm.c<br />
<br />
See also http://epan.cvs.sourceforge.net/viewvc/epan/epan/lib/smallcaps/org/erights/e/elang/smallcaps/SmallcapsEncoder.java?view=markup<br />
<br />
And http://epan.cvs.sourceforge.net/viewvc/epan/epan/lib/smallcaps/org/erights/e/elang/smallcaps/SmallcapsOps.java?view=markup<br />
<br />
<pre><nowiki><br />
# A Tcl procedure that decodes smallcaps bytecode stream<br />
proc decode_smallcaps {input} {<br />
set output [list]<br />
set op [read_byte]<br />
switch -exact -- $op {<br />
"\x01" { lappend output [list OP_DUP] }<br />
"\x02" { lappend output [list OP_POP] }<br />
"\x03" { lappend output [list OP_SWAP] }<br />
"\x04" { lappend output [list OP_ROT] }<br />
"\x05" { lappend output [list [list OP_UNDERDUP OP_RETURN]] }<br />
"\x06" { lappend output [list [list OP_RETURN {}]] }<br />
"\x07" { lappend output [list unused_bytecode 1] }<br />
"\x08" { lappend output [list OP_JUMP [read_wholeNum]] }<br />
"\x09" { lappend output [list OP_BRANCH] }<br />
"\x0a" { lappend output [list OP_CALL_ONLY [read_string] [read_wholeNum]] }<br />
"\x0b" { lappend output [list OP_CALL [read_string] [read_wholeNum]] }<br />
"\x0c" { lappend output [list OP_SEND_ONLY [read_string] [read_wholeNum]] }<br />
"\x0d" { lappend output [list OP_SEND [read_string] [read_wholeNum]] }<br />
"\x0e" { lappend output [list OP_EJECTOR_ONLY [read_wholeNum]] }<br />
"\x0f" { lappend output [list OP_EJECTOR [read_wholeNum]] }<br />
"\x10" { lappend output [list OP_TRY [read_wholeNum]] }<br />
"\x11" { lappend output [list OP_UNWIND [read_wholeNum]] }<br />
"\x12" { lappend output [list OP_ENDHANDLER] }<br />
"\x13" { lappend output [list unused_bytecode 2] }<br />
"\x14" { lappend output [list unused_bytecode 3] }<br />
"\x15" { lappend output [list unused_bytecode 4] }<br />
"\x16" { lappend output [list OP_WHOLENUM [read_wholeNum]] }<br />
"\x17" { lappend output [list OP_NEG_INT [read_wholeNum]] }<br />
"\x18" { lappend output [list OP_FLOAT64 [read_float64]] }<br />
"\x19" { lappend output [list OP_CHAR [read_char]] }<br />
"\x1a" { lappend output [list OP_STRING [read_string]] }<br />
"\x1b" { lappend output [list OP_TWINE ???unknown_arity???]] }<br />
"\x1c" { lappend output [list OP_TRUE]] }<br />
"\x1d" { lappend output [list OP_FALSE]] }<br />
"\x1e" { lappend output [list OP_NULL]] }<br />
"\x1f" { lappend output [list OP_SCOPE]] }<br />
"\x20" { lappend output [list OP_OBJECT [read_wholeNum] [read_wholeNum]] }<br />
"\x21" { lappend output [list OP_LIST_PATT [read_wholeNum]] }<br />
"\x22" { lappend output [list OP_LIST_PATT_ONLY [read_wholeNum]] }<br />
"\x23" { lappend output [list OP_CDR_PATT [read_wholeNum]] }<br />
"\x24" { lappend output [list OP_CDR_PATT_ONLY [read_wholeNum]] }<br />
"\x25" { lappend output [list unused_bytecode 5]] }<br />
"\x26" { lappend output [list unused_bytecode 6]] }<br />
"\x27" { lappend output [list unused_bytecide 7]] }<br />
}<br />
<br />
return $output<br />
}<br />
<br />
</nowiki></pre></div>
Zarutian
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=4289&oldid=prev
Zarutian: edit 4 in editstream
2010-09-09T11:53:56Z
<p>edit 4 in editstream</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:53, 9 September 2010</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 70:</td>
<td colspan="2" class="diff-lineno">Line 70:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>And http://epan.cvs.sourceforge.net/viewvc/epan/epan/lib/smallcaps/org/erights/e/elang/smallcaps/SmallcapsOps.java?view=markup</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>And http://epan.cvs.sourceforge.net/viewvc/epan/epan/lib/smallcaps/org/erights/e/elang/smallcaps/SmallcapsOps.java?view=markup</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><nowiki></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><nowiki<ins class="diffchange diffchange-inline">><pre</ins>></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> # A Tcl procedure that decodes smallcaps bytecode stream</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> # A Tcl procedure that decodes smallcaps bytecode stream</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> proc decode_smallcaps {input} {</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> proc decode_smallcaps {input} {</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 94:</td>
<td colspan="2" class="diff-lineno">Line 94:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> "\x11" { lappend output [list OP_UNWIND [read_wholeNum]] }</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> "\x11" { lappend output [list OP_UNWIND [read_wholeNum]] }</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> "\x12" { lappend output [list OP_ENDHANDLER] }</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> "\x12" { lappend output [list OP_ENDHANDLER] }</div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> "</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> "<ins class="diffchange diffchange-inline">\x13" { lappend output [list unused_bytecode 2] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> "\x14" { lappend output [list unused_bytecode 3] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> "\x15" { lappend output [list unused_bytecode 4] }</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> }</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> }</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 100:</td>
<td colspan="2" class="diff-lineno">Line 102:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> }</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> }</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div></nowiki></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"></pre></ins></nowiki></div></td></tr>
<!-- diff generator: internal 2024-03-19 09:59:33 -->
</table>
Zarutian
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=4288&oldid=prev
Zarutian: edit 3 in editstream
2010-09-09T11:50:34Z
<p>edit 3 in editstream</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:50, 9 September 2010</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 84:</td>
<td colspan="2" class="diff-lineno">Line 84:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> "\x07" { lappend output [list unused_bytecode 1] }</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> "\x07" { lappend output [list unused_bytecode 1] }</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> "\x08" { lappend output [list OP_JUMP [read_wholeNum]] }</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> "\x08" { lappend output [list OP_JUMP [read_wholeNum]] }</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x09" { lappend output [list OP_BRANCH] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x0a" { lappend output [list OP_CALL_ONLY [read_string] [read_wholeNum]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x0b" { lappend output [list OP_CALL [read_string] [read_wholeNum]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x0c" { lappend output [list OP_SEND_ONLY [read_string] [read_wholeNum]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x0d" { lappend output [list OP_SEND [read_string] [read_wholeNum]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x0e" { lappend output [list OP_EJECTOR_ONLY [read_wholeNum]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x0f" { lappend output [list OP_EJECTOR [read_wholeNum]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x10" { lappend output [list OP_TRY [read_wholeNum]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x11" { lappend output [list OP_UNWIND [read_wholeNum]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x12" { lappend output [list OP_ENDHANDLER] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> }</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> }</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<!-- diff generator: internal 2024-03-19 09:59:33 -->
</table>
Zarutian
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=4287&oldid=prev
Zarutian: edit 2 in editstream
2010-09-09T11:38:07Z
<p>edit 2 in editstream</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:38, 9 September 2010</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 43:</td>
<td colspan="2" class="diff-lineno">Line 43:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 0x1E OP_NULL [],[] => OP_NULL => [null],[]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 0x1E OP_NULL [],[] => OP_NULL => [null],[]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 0x1F OP_SCOPE [],[] => OP_SCOPE => [scope],[]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 0x1F OP_SCOPE [],[] => OP_SCOPE => [scope],[]</div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 0x20 OP_OBJECT [ivars..., auditors...],[] => OP_OBJECT(<del class="diffchange diffchange-inline"><metanote: missing></del>) => [object],[]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 0x20 OP_OBJECT [ivars..., auditors...],[] => OP_OBJECT(<ins class="diffchange diffchange-inline">wholeNum numOfFields, wholeNum scriptIndex</ins>) => [object],[]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> metanote: hypothesis: OP_OBJECT takes these immitiate args:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> metanote: hypothesis: OP_OBJECT takes these immitiate args:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> wholenum of ivarAuditorpairs to pop of the stack</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> wholenum of ivarAuditorpairs to pop of the stack</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 67:</td>
<td colspan="2" class="diff-lineno">Line 67:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>See also http://epan.cvs.sourceforge.net/viewvc/epan/epan/lib/smallcaps/org/erights/e/elang/smallcaps/SmallcapsEncoder.java?view=markup</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>See also http://epan.cvs.sourceforge.net/viewvc/epan/epan/lib/smallcaps/org/erights/e/elang/smallcaps/SmallcapsEncoder.java?view=markup</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">And http://epan.cvs.sourceforge.net/viewvc/epan/epan/lib/smallcaps/org/erights/e/elang/smallcaps/SmallcapsOps.java?view=markup</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><nowiki></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> # A Tcl procedure that decodes smallcaps bytecode stream</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> proc decode_smallcaps {input} {</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> set output [list]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> set op [read_byte]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> switch -exact -- $op {</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x01" { lappend output [list OP_DUP] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x02" { lappend output [list OP_POP] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x03" { lappend output [list OP_SWAP] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x04" { lappend output [list OP_ROT] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x05" { lappend output [list [list OP_UNDERDUP OP_RETURN]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x06" { lappend output [list [list OP_RETURN {}]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x07" { lappend output [list unused_bytecode 1] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> "\x08" { lappend output [list OP_JUMP [read_wholeNum]] }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> return $output</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> }</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></nowiki></ins></div></td></tr>
<!-- diff generator: internal 2024-03-19 09:59:34 -->
</table>
Zarutian
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=4286&oldid=prev
Zarutian: Starting edits stream
2010-09-09T11:20:20Z
<p>Starting edits stream</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:20, 9 September 2010</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 65:</td>
<td colspan="2" class="diff-lineno">Line 65:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head%3A/src/vm.c</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head%3A/src/vm.c</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">See also http://epan.cvs.sourceforge.net/viewvc/epan/epan/lib/smallcaps/org/erights/e/elang/smallcaps/SmallcapsEncoder.java?view=markup</ins></div></td></tr>
<!-- diff generator: internal 2024-03-19 09:59:34 -->
</table>
Zarutian
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=4285&oldid=prev
Zarutian at 13:08, 9 March 2010
2010-03-09T13:08:34Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 13:08, 9 March 2010</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 62:</td>
<td colspan="2" class="diff-lineno">Line 62:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> +addrMode</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> +addrMode</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>[[User:dash]] pointed me to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/doc/smallcaps.txt which is also a bit stale and to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/esrc/com/twistedmatrix/ecru/compiler.emaker</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>[[User:<ins class="diffchange diffchange-inline">dash|</ins>dash]] pointed me to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/doc/smallcaps.txt which is also a bit stale and to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/esrc/com/twistedmatrix/ecru/compiler.emaker</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head%3A/src/vm.c</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head%3A/src/vm.c</div></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">--[[User:Zarutian|Zarutian]] 07:07, 9 March 2010 (CST)</del></div></td><td colspan="2"> </td></tr>
<!-- diff generator: internal 2024-03-19 09:59:34 -->
</table>
Zarutian
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=4284&oldid=prev
Zarutian at 13:07, 9 March 2010
2010-03-09T13:07:38Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 13:07, 9 March 2010</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 65:</td>
<td colspan="2" class="diff-lineno">Line 65:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head%3A/src/vm.c</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head%3A/src/vm.c</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">--[[User:Zarutian|Zarutian]] 07:07, 9 March 2010 (CST)</ins></div></td></tr>
<!-- diff generator: internal 2024-03-19 09:59:34 -->
</table>
Zarutian
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=4283&oldid=prev
Zarutian at 16:43, 5 March 2010
2010-03-05T16:43:33Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 16:43, 5 March 2010</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 63:</td>
<td colspan="2" class="diff-lineno">Line 63:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[User:dash]] pointed me to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/doc/smallcaps.txt which is also a bit stale and to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/esrc/com/twistedmatrix/ecru/compiler.emaker</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[User:dash]] pointed me to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/doc/smallcaps.txt which is also a bit stale and to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/esrc/com/twistedmatrix/ecru/compiler.emaker</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head%3A/src/vm.c</ins></div></td></tr>
<!-- diff generator: internal 2024-03-19 09:59:34 -->
</table>
Zarutian
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=4282&oldid=prev
Zarutian at 16:32, 5 March 2010
2010-03-05T16:32:15Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 16:32, 5 March 2010</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 62:</td>
<td colspan="2" class="diff-lineno">Line 62:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> +addrMode</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> +addrMode</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>-</td><td style="background: #ffa; color:black; font-size: smaller;"><div>[[User:dash]] pointed me to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/doc/smallcaps.txt which is also a bit stale</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>[[User:dash]] pointed me to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/doc/smallcaps.txt which is also a bit stale <ins class="diffchange diffchange-inline">and to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/esrc/com/twistedmatrix/ecru/compiler.emaker</ins></div></td></tr>
<!-- diff generator: internal 2024-03-19 09:59:34 -->
</table>
Zarutian
http://wiki.erights.org/mediawiki/index.php?title=User:Zarutian/Smallcaps&diff=4281&oldid=prev
Zarutian at 16:29, 5 March 2010
2010-03-05T16:29:01Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 16:29, 5 March 2010</td>
</tr>
<tr><td colspan="2" class="diff-lineno">Line 61:</td>
<td colspan="2" class="diff-lineno">Line 61:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 0x48 OP_BIND_SLOT</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 0x48 OP_BIND_SLOT</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> +addrMode</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> +addrMode</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[User:dash]] pointed me to http://bazaar.launchpad.net/~washort/ecru/trunk/annotate/head:/doc/smallcaps.txt which is also a bit stale</ins></div></td></tr>
<!-- diff generator: internal 2024-03-19 09:59:35 -->
</table>
Zarutian