1.1 --- a/micropython/rsvp.py Tue Jul 14 00:37:04 2009 +0200
1.2 +++ b/micropython/rsvp.py Sun Jul 19 22:17:23 2009 +0200
1.3 @@ -210,6 +210,7 @@
1.4 # Access to frames upon invocation.
1.5
1.6 class CheckFrame(Immediate): "Check the frame for the correct number of arguments."
1.7 +class CheckExtra(Immediate): "Ensure that the frame can provide extra arguments."
1.8 class FillDefaults(Immediate): "Fill frame positions with defaults, if appropriate."
1.9 class ExtendFrame(Immediate): "Extend the current frame for temporary storage use."
1.10 class CopyExtra(Immediate): "Copy extra arguments into a separate sequence, starting from the given position."
1.11 @@ -256,4 +257,22 @@
1.12 CopyExtra
1.13 )
1.14
1.15 +# Instructions which use the current value.
1.16 +
1.17 +simple_input_user_instructions = (
1.18 + StoreTemp, StoreFrame, StoreResult, StoreException, # as the value being stored
1.19 + LoadAddressContext, LoadAddressContextCond, # as the object being referenced
1.20 + LoadAttr, LoadAttrIndex, # LoadAttrIndexContext, # as the object being referenced
1.21 + LoadAttrIndexContextCond, # as the object being referenced
1.22 + StoreAttr, StoreAttrIndex, StoreCallable, # as the object being referenced
1.23 + StoreFrameIndex, # as the object being referenced
1.24 + StoreAddressContext, # as the context
1.25 + LoadCallable,
1.26 + TestIdentity, TestIdentityAddress, CheckSelf, # as one of the operands
1.27 + CheckException, CheckFrame, FillDefaults,
1.28 + MakeInstance,
1.29 + CheckContext, CheckClass,
1.30 + LoadContext # as the object providing the result
1.31 + )
1.32 +
1.33 # vim: tabstop=4 expandtab shiftwidth=4