annotate modules/vec.tp @ 347:ff7ea11b4b60

Add length method to executable bytearrays
author Michael Pavone <pavone@retrodev.com>
date Fri, 10 Apr 2015 00:48:12 -0700
parents 860075fdc2d3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
327
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
1 #{
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
2 x:y <- :_x :_y {
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
3 #{
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
4 x <- _x
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
5 y <- _y
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
6 }
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
7 }
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
8
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
9 x:y:z <- :_x :_y :_z {
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
10 #{
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
11 x <- _x
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
12 y <- _y
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
13 z <- _z
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
14 }
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
15 }
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
16
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
17 x:y:z:w <- :_x :_y :_z :_w {
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
18 #{
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
19 x <- _x
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
20 y <- _y
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
21 z <- _z
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
22 w <- _w
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
23 }
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
24 }
860075fdc2d3 Add the beginning of a vector module
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
25 }