LANG/BGB Spec:
Initial: 2002-09-25 To: 2003-01-06
SYS/BGB Spec:
Initial: 2003-07-17
This spec will outline differences between scheme as defined by R5RS and LANG/BGB.
a => a, a.b => (a 'b), a.b.c => ((a 'b) 'c), ...This can be used when referring to objects or namespaces, ie: self.name, root-env.system, ...
Name |
Number |
Description |
MRPOP_NOP |
0x000 |
Does nothing |
MRPOP_MARK |
0x005 |
Marks the current stack
position |
MRPOP_CONS |
0x100 |
Conses arguments: a
b -> (a . b) |
MRPOP_RCONS |
0x101 |
Reverse conses arguments:
a b -> (b . a) |
MRPOP_LIST |
0x102 |
Creates a list: MARK
... -> (...) |
MRPOP_LISTI |
0x103 |
Creates a list with
a non EOL tail: MARK a... b -> (a... . b) |
MRPOP_VECTOR |
0x104 |
Creates a vector: MARK
... -> #(...) |
MRPOP_ADDR |
0x108 |
addr port type ->
ADDR type: 1=ipv4udp, 2=ipv4tcp |
MRPOP_RREF |
0x109 |
Relative to the sender
of the message: refnum type -> LREF |
MRPOP_LREF |
0x10A |
ADDR refnum type ->
LREF |
MRPOP_DISPATCH |
0x10B |
msg from refnum |
MRPOP_RDISPATCH |
0x10C |
msg from refnum cont-id sends SETTER and RETURN to return values. cont-id will be used to sync calls and returns |
MRPOP_SETTER |
0x10D |
setter cont-id |
MRPOP_RETURN |
0x10E |
value cont-id send parts of a return value, setter is to come first |
MRPOP_YREF |
0x10F |
refnum -> obj relative to the reciever, to be used for references to objects on reciever. |
MRPOP_COPY |
0x110 |
refnum cont -> sends
RETURN w/flat version |
name: symbol |
Allows the primitive to be named. |
min: vector |
Defines the minimum extents (cube). |
max: vector |
Defines the maximum extents (also cube). |
radius: scalar |
Defines the normal radius (cylinder, sphere,
disk). |
radius-top: scalar |
Radius at top (cylinder, top is +Z). |
radius-bottom: scalar |
Radius at bottom (cylinder, bottom is -Z). |
height: scalar |
The height of a cylinder. |
texture: map |
Allows selection of a texture map. |
translate: vector |
Translates primitive by vector (local). |
rotate: vector |
Rotates by vector (local). |
scale: vector |
Scales by vector (also local). |
identity: |
Resets back to identity value. |