]> gitweb.factorcode.org Git - factor.git/commitdiff
Language change: tuple slot setter words with stack effect ( value object -- ) are...
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Wed, 5 May 2010 20:52:54 +0000 (16:52 -0400)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 6 May 2010 21:21:02 +0000 (17:21 -0400)
123 files changed:
basis/alien/fortran/fortran.factor
basis/bitstreams/bitstreams.factor
basis/boxes/boxes.factor
basis/checksums/md5/md5.factor
basis/checksums/sha/sha.factor
basis/circular/circular.factor
basis/classes/struct/struct.factor
basis/compiler/cfg/block-joining/block-joining.factor
basis/compiler/cfg/dependence/dependence.factor
basis/compiler/cfg/gc-checks/gc-checks.factor
basis/compiler/cfg/linear-scan/allocation/spilling/spilling.factor
basis/compiler/cfg/linear-scan/allocation/splitting/splitting.factor
basis/compiler/cfg/linear-scan/live-intervals/live-intervals.factor
basis/compiler/cfg/linear-scan/numbering/numbering.factor
basis/compiler/cfg/utilities/utilities.factor
basis/compiler/tree/propagation/call-effect/call-effect.factor
basis/compiler/tree/propagation/inlining/inlining.factor
basis/compiler/tree/recursive/recursive.factor
basis/compression/huffman/huffman.factor
basis/core-graphics/types/types.factor
basis/cpu/ppc/linux/linux.factor
basis/delegate/delegate.factor
basis/dlists/dlists.factor
basis/ftp/server/server.factor
basis/furnace/chloe-tags/chloe-tags.factor
basis/game/input/xinput/xinput.factor
basis/help/definitions/definitions.factor
basis/help/tips/tips.factor
basis/hints/hints-tests.factor
basis/images/jpeg/jpeg.factor
basis/io/backend/windows/nt/nt.factor
basis/io/encodings/iso2022/iso2022.factor
basis/io/launcher/windows/nt/nt.factor
basis/io/monitors/monitors.factor
basis/io/ports/ports.factor
basis/io/sockets/windows/windows.factor
basis/io/streams/limited/limited.factor
basis/math/rectangles/rectangles.factor
basis/math/vectors/simd/simd-docs.factor
basis/models/models.factor
basis/peg/peg.factor
basis/prettyprint/sections/sections.factor
basis/random/sfmt/sfmt.factor
basis/refs/refs.factor
basis/regexp/dfa/dfa.factor
basis/sequences/parser/parser.factor
basis/tools/walker/walker.factor
basis/ui/backend/cocoa/cocoa.factor
basis/ui/backend/windows/windows.factor
basis/ui/backend/x11/x11.factor
basis/ui/clipboards/clipboards.factor
basis/ui/gadgets/gadgets.factor
basis/ui/gadgets/labels/labels.factor
basis/ui/gadgets/packs/packs.factor
basis/ui/gadgets/worlds/worlds.factor
basis/ui/gestures/gestures.factor
basis/ui/tools/browser/history/history-tests.factor
basis/ui/tools/listener/listener-tests.factor
basis/ui/ui.factor
basis/unrolled-lists/unrolled-lists.factor
basis/values/values.factor
basis/xml/data/data.factor
basis/xmode/catalog/catalog.factor
basis/xmode/loader/loader.factor
basis/xmode/loader/syntax/syntax.factor
basis/xmode/marker/marker.factor
basis/xmode/rules/rules.factor
core/classes/tuple/tuple-docs.factor
core/classes/tuple/tuple-tests.factor
core/growable/growable.factor
core/hashtables/hashtables.factor
core/io/io.factor
core/lexer/lexer.factor
core/slots/slots-docs.factor
core/slots/slots-tests.factor
core/slots/slots.factor
core/source-files/source-files.factor
core/strings/parser/parser.factor
core/syntax/syntax.factor
core/vocabs/parser/parser.factor
extra/asn1/asn1.factor
extra/benchmark/chameneos-redux/chameneos-redux.factor
extra/c/lexer/lexer.factor
extra/classes/struct/vectored/vectored.factor
extra/cpu/8080/emulator/emulator.factor
extra/cpu/8080/test/test.factor
extra/enter/authors.txt [deleted file]
extra/enter/enter.factor [deleted file]
extra/fullscreen/fullscreen.factor
extra/game/loop/loop.factor
extra/game/models/obj/obj.factor
extra/game/models/util/util.factor
extra/io/serial/unix/unix.factor
extra/irc/client/internals/internals.factor
extra/irc/client/participants/participants.factor
extra/irc/messages/base/base.factor
extra/irc/messages/parser/parser.factor
extra/joystick-demo/joystick-demo.factor
extra/key-caps/key-caps.factor
extra/managed-server/chat/chat.factor
extra/managed-server/managed-server.factor
extra/model-viewer/model-viewer.factor
extra/models/conditional/conditional.factor
extra/mongodb/tuple/collection/collection.factor
extra/pairs/pairs.factor
extra/path-finding/path-finding.factor
extra/pop3/pop3.factor
extra/project-euler/common/common.factor
extra/quadtrees/quadtrees.factor
extra/random/cmwc/cmwc.factor
extra/sequences/repeating/repeating.factor
extra/smalltalk/compiler/lexenv/lexenv-tests.factor
extra/space-invaders/space-invaders.factor
extra/synth/synth.factor
extra/terrain/terrain.factor
extra/tetris/tetris.factor
extra/tokyo/abstractdb/abstractdb.factor
extra/tokyo/remotedb/remotedb.factor
extra/trees/avl/avl.factor
extra/trees/splay/splay.factor
extra/trees/trees.factor
extra/ui/gadgets/lists/lists.factor
extra/variables/variables.factor

index 9f44dec80a501db021f31530a2542cc2422d233e..27bd183a2e848f9341849744db7203949a8b526f 100755 (executable)
@@ -114,7 +114,7 @@ MACRO: size-case-type ( cases -- )
     [ append-dimensions ] bi ;
 
 : new-fortran-type ( out? dims size class -- type )
-    new [ [ (>>size) ] [ (>>dims) ] [ (>>out?) ] tri ] keep ;
+    new [ [ size<< ] [ dims<< ] [ out?<< ] tri ] keep ;
 
 GENERIC: (fortran-type>c-type) ( type -- c-type )
 
index c4e1ec42b2fca6943629f7495f735f5191141e03..5581e47056634e2c5fa0b13b783b13d1eebf4c03 100644 (file)
@@ -64,7 +64,7 @@ GENERIC: poke ( value n bitstream -- )
     [ byte-pos>> 8 * ] [ bit-pos>> + ] bi ; inline
     
 : set-abp ( abp bitstream -- ) 
-    [ 8 /mod ] dip [ (>>bit-pos) ] [ (>>byte-pos) ] bi ; inline
+    [ 8 /mod ] dip [ bit-pos<< ] [ byte-pos<< ] bi ; inline
 
 : seek ( n bitstream -- )
     [ get-abp + ] [ set-abp ] bi ; inline
@@ -117,11 +117,11 @@ M:: lsb0-bit-writer poke ( value n bs -- )
     byte bs widthed>> |widthed :> new-byte
     new-byte #bits>> 8 = [
         new-byte bits>> bs bytes>> push
-        zero-widthed bs (>>widthed)
+        zero-widthed bs widthed<<
         remainder widthed>bytes
-        [ bs bytes>> push-all ] [ bs (>>widthed) ] bi*
+        [ bs bytes>> push-all ] [ bs widthed<< ] bi*
     ] [
-        byte bs (>>widthed)
+        byte bs widthed<<
     ] if ;
 
 : enough-bits? ( n bs -- ? )
@@ -146,10 +146,10 @@ ERROR: not-enough-bits n bit-reader ;
     n 8 /mod :> ( #bytes #bits )
     bs [ #bytes + ] change-byte-pos
     bit-pos>> #bits + dup 8 >= [
-        8 - bs (>>bit-pos)
+        8 - bs bit-pos<<
         bs [ 1 + ] change-byte-pos drop
     ] [
-        bs (>>bit-pos)
+        bs bit-pos<<
     ] if ;
 
 :: (peek) ( n bs endian> subseq-endian -- bits )
index a159e1402b04027301eac6f104814f41e81642cc..15c22bea88a4a64cc874cc05f9cc045ba23fe986 100644 (file)
@@ -11,7 +11,7 @@ ERROR: box-full box ;
 \r
 : >box ( value box -- )\r
     dup occupied>>\r
-    [ box-full ] [ t >>occupied (>>value) ] if ; inline\r
+    [ box-full ] [ t >>occupied value<< ] if ; inline\r
 \r
 ERROR: box-empty box ;\r
 \r
index a2b6d4fd79e49b0bbe80489ac220500f29cb605a..63fdb4dee07737dbdd85b1af11cd6fe5855c64fe 100644 (file)
@@ -29,7 +29,7 @@ M: md5 initialize-checksum-state drop <md5-state> ;
 
 : update-md5 ( md5 -- )
     [ state>> ] [ old-state>> v-w+ dup clone ] [ ] tri
-    [ (>>old-state) ] [ (>>state) ] bi ;
+    [ old-state<< ] [ state<< ] bi ;
 
 CONSTANT: T
     $[
index ba85add03c63727406fb6d650b5f745b2b911e68..af0f95fa76a71d5f5c72eadf646f992b23b1e655 100644 (file)
@@ -395,7 +395,7 @@ M: sha-256 checksum-stream ( stream checksum -- byte-array )
     state [ H [ w+ ] 2map ] change-H drop ; inline
 
 M:: sha1-state checksum-block ( bytes state -- )
-    bytes prepare-sha1-message-schedule state (>>W)
+    bytes prepare-sha1-message-schedule state W<<
 
     bytes
     state [ H>> clone ] [ W>> ] [ K>> ] tri state process-sha1-chunk ;
index 0e1fe47fbb658c8e9c4b67d2f9524fb257bc179a..db60bb12075a84eac6a83e30ddc2e51a718714fa 100644 (file)
@@ -25,7 +25,7 @@ M: circular virtual-exemplar seq>> ; inline
 
 : change-circular-start ( n circular -- )
     #! change start to (start + n) mod length
-    circular-wrap (>>start) ; inline
+    circular-wrap start<< ; inline
 
 : rotate-circular ( circular -- )
     [ 1 ] dip change-circular-start ; inline
index 48b2aa5f324bfe2e946af8b05ffcff715aaea675..74b4882ffb87a7b2d59f525a008a9844aecabf65 100644 (file)
@@ -232,10 +232,10 @@ GENERIC: compute-slot-offset ( offset class -- offset' )
 
 M: struct-slot-spec compute-slot-offset
     [ type>> over c-type-align-at 8 * align ] keep
-    [ [ 8 /i ] dip (>>offset) ] [ type>> heap-size 8 * + ] 2bi ;
+    [ [ 8 /i ] dip offset<< ] [ type>> heap-size 8 * + ] 2bi ;
 
 M: struct-bit-slot-spec compute-slot-offset
-    [ (>>offset) ] [ bits>> + ] 2bi ;
+    [ offset<< ] [ bits>> + ] 2bi ;
 
 : compute-struct-offsets ( slots -- size )
     0 [ compute-slot-offset ] reduce 8 align 8 /i ;
index 60528a61bbdf1f32ba621cd670988bed14c798f7..3f98c3711f4efb545efdef280f069e2a1946c535 100644 (file)
@@ -21,7 +21,7 @@ IN: compiler.cfg.block-joining
     [ instructions>> ] bi@ dup pop* push-all ;
 
 : update-successors ( bb pred -- )
-    [ successors>> ] dip (>>successors) ;
+    [ successors>> ] dip successors<< ;
 
 : join-block ( bb pred -- )
     [ join-instructions ] [ update-successors ] 2bi ;
index 6e07336217f2210f069a53d57291d190b419d7b2..ff9b82208cc52ceed02117f2414dbfdaf1ab06a7 100644 (file)
@@ -117,7 +117,7 @@ M: object add-control-edge 2drop ;
         bi v+ supremum
     ] if-empty
     node insn>> temp-vregs length +
-    dup node (>>registers) ;
+    dup node registers<< ;
 
 ! Constructing fan-in trees
 
index 4d71bbe5565d9a86e39903f7e61f223bc918cc4a..0ebda513a2366f5eaef2432e6312cb4a00bb8200 100644 (file)
@@ -62,13 +62,13 @@ IN: compiler.cfg.gc-checks
     >>instructions t >>unlikely? ;
 
 :: insert-guard ( body check bb -- )
-    bb predecessors>> check (>>predecessors)
-    V{ bb body }      check (>>successors)
+    bb predecessors>> check predecessors<<
+    V{ bb body }      check successors<<
 
-    V{ check }        body (>>predecessors)
-    V{ bb }           body (>>successors)
+    V{ check }        body predecessors<<
+    V{ bb }           body successors<<
 
-    V{ check body }   bb (>>predecessors)
+    V{ check body }   bb predecessors<<
 
     check predecessors>> [ bb check update-successors ] each ;
 
index 19b0f6c5b9a8cb5c6081028da3945b452e18fb1c..3ab400535980bfed73c9ff68fa6e0394e963b47b 100644 (file)
@@ -19,13 +19,13 @@ ERROR: bad-live-ranges interval ;
 : trim-before-ranges ( live-interval -- )
     [ ranges>> ] [ last-use n>> 1 + ] bi
     [ '[ from>> _ <= ] filter! drop ]
-    [ swap last (>>to) ]
+    [ swap last to<< ]
     2bi ;
 
 : trim-after-ranges ( live-interval -- )
     [ ranges>> ] [ first-use n>> ] bi
     [ '[ to>> _ >= ] filter! drop ]
-    [ swap first (>>from) ]
+    [ swap first from<< ]
     2bi ;
 
 : assign-spill ( live-interval -- )
index b3cba3d90d26b80e9ef43beca2deca63be9f9cb9..d41a06806b33db11ccccb13f1ac5d140b87ebbe4 100644 (file)
@@ -51,8 +51,8 @@ ERROR: splitting-atomic-interval ;
     live-interval n check-split
     live-interval clone :> before
     live-interval clone :> after
-    live-interval uses>> n split-uses before after [ (>>uses) ] bi-curry@ bi*
-    live-interval ranges>> n split-ranges before after [ (>>ranges) ] bi-curry@ bi*
+    live-interval uses>> n split-uses before after [ uses<< ] bi-curry@ bi*
+    live-interval ranges>> n split-ranges before after [ ranges<< ] bi-curry@ bi*
     before split-before
     after split-after ;
 
index cb697c2136cbd8066e8902a47afa2f2e34b8721a..c4b255d12a9068eeb5cae00ec0255673312267aa 100644 (file)
@@ -52,7 +52,7 @@ M: live-interval covers? ( insn# live-interval -- ? )
 
 : shorten-range ( n live-interval -- )
     dup ranges>> empty?
-    [ dupd add-new-range ] [ ranges>> last (>>from) ] if ;
+    [ dupd add-new-range ] [ ranges>> last from<< ] if ;
 
 : extend-range ( from to live-range -- )
     ranges>> last
index 391edf21d6d5885ed98803ebf65a6d341536c54f..e48670ed997ec87d10055729d6851ea81676e5fa 100644 (file)
@@ -8,7 +8,7 @@ ERROR: already-numbered insn ;
 
 : number-instruction ( n insn -- n' )
     [ nip dup insn#>> [ already-numbered ] [ drop ] if ]
-    [ (>>insn#) ]
+    [ insn#<< ]
     [ drop 2 + ]
     2tri ;
 
index ae860c52ce93e378e9dda99800bab2ce53beff8a..0158c0546caccde1648c50e870293c1d241f936e 100644 (file)
@@ -50,9 +50,9 @@ SYMBOL: visited
 :: insert-basic-block ( from to insns -- )
     ! Insert basic block on the edge between 'from' and 'to'.
     <basic-block> :> bb
-    insns V{ } like bb (>>instructions)
-    V{ from } bb (>>predecessors)
-    V{ to } bb (>>successors)
+    insns V{ } like bb instructions<<
+    V{ from } bb predecessors<<
+    V{ to } bb successors<<
     from to bb update-predecessors
     from to bb update-successors ;
 
index 4b029fccf20510aacbed1602ef872146f52ac87b..d55769c17bc326f5c6c52189cd0ae6513637ad1d 100644 (file)
@@ -33,7 +33,7 @@ TUPLE: inline-cache value counter ;
 
 : update-inline-cache ( word/quot ic -- )
     [ effect-counter ] dip
-    [ (>>value) ] [ (>>counter) ] bi-curry bi* ; inline
+    [ value<< ] [ counter<< ] bi-curry bi* ; inline
 
 SINGLETON: +unknown+
 
@@ -74,7 +74,7 @@ M: compose cached-effect
 
 : save-effect ( effect quot -- )
     [ effect-counter ] dip
-    [ (>>cached-effect) ] [ (>>cache-counter) ] bi-curry bi* ;
+    [ cached-effect<< ] [ cache-counter<< ] bi-curry bi* ;
 
 M: quotation cached-effect
     dup cached-effect-valid?
index 4a227cfa7717b003377e7e2f4f58c25c4533535d..5375ff68819b246ebc1ec373aaee31cfd019f940 100644 (file)
@@ -90,7 +90,7 @@ SYMBOL: history
     word already-inlined? [ f ] [
         #call word splicing-body [
             word add-to-history
-            #call (>>body)
+            #call body<<
             #call propagate-body
         ] [ f ] if*
     ] if ;
index 0473e3a3a4cc602a6c0e7cec50161cc1a96bf1f2..70c4fb44d9a621183a568d5aa6d2be34078f3f79 100644 (file)
@@ -44,7 +44,7 @@ GENERIC: node-call-graph ( tail? node -- )
     ] with-scope ;
 
 M: #return-recursive node-call-graph
-    nip dup label>> (>>return) ;
+    nip dup label>> return<< ;
 
 M: #call-recursive node-call-graph
     [ dup label>> call-site boa ] keep
index 0c3db049939fb8269b4fa1ba508f79f559fdb1f8..7b5582a0b6fd770d853f7b293f9aa80956e004b5 100644 (file)
@@ -35,7 +35,7 @@ TUPLE: huffman-code
     tdesc\r
     [\r
         code next-size\r
-        [ code (>>value) code clone quot call code next-code ] each\r
+        [ code value<< code clone quot call code next-code ] each\r
     ] each ; inline\r
 \r
 : update-reverse-table ( huffman-code n table -- )\r
index a1e9b1dc9a1655f7d0e98cee3ee8c70e65de566a..587154fb2f64abba4800fc4ff0b6cd26178dd860 100644 (file)
@@ -53,13 +53,13 @@ STRUCT: CGRect
     size>> h>> ; inline
 
 : set-CGRect-x ( x CGRect -- )
-    origin>> (>>x) ; inline
+    origin>> x<< ; inline
 : set-CGRect-y ( y CGRect -- )
-    origin>> (>>y) ; inline
+    origin>> y<< ; inline
 : set-CGRect-w ( w CGRect -- )
-    size>> (>>w) ; inline
+    size>> w<< ; inline
 : set-CGRect-h ( h CGRect -- )
-    size>> (>>h) ; inline
+    size>> h<< ; inline
 
 : <CGRect> ( x y w h -- rect )
     [ CGPoint <struct-boa> ] [ CGSize <struct-boa> ] 2bi*
index 0a1e8477e81c74b55bcb029ad57a0e06dba6b824..59126325135fdb9ff6e212275d3fea1c414efadc 100644 (file)
@@ -5,8 +5,8 @@ alien.c-types cpu.architecture cpu.ppc ;
 IN: cpu.ppc.linux
 
 <<
-t "longlong" c-type (>>stack-align?)
-t "ulonglong" c-type (>>stack-align?)
+t "longlong" c-type stack-align?<<
+t "ulonglong" c-type stack-align?<<
 >>
 
 M: linux reserved-area-size 2 cells ;
index 5c8703116dfbc26330ad4e74284d5f247034c316..5bbd62dfa8c9f0389586c8b52b4c2d11be7c3514 100644 (file)
@@ -112,7 +112,7 @@ SYNTAX: BROADCAST:
 
 M: consultation where loc>> ;
 
-M: consultation set-where (>>loc) ;
+M: consultation set-where loc<< ;
 
 M: consultation forget*
     [ unconsult-methods ] [ unregister-consult ] bi ;
index 53e134fad9fb2f88c410279b11a4168b495fc638..c4b191360bbc50930e1831b80d70e14c5467ef64 100644 (file)
@@ -34,10 +34,10 @@ M: dlist deque-empty? front>> not ; inline
 M: dlist-node node-value obj>> ;
 
 : set-prev-when ( dlist-node dlist-node/f -- )
-    [ (>>prev) ] [ drop ] if* ; inline
+    [ prev<< ] [ drop ] if* ; inline
 
 : set-next-when ( dlist-node dlist-node/f -- )
-    [ (>>next) ] [ drop ] if* ; inline
+    [ next<< ] [ drop ] if* ; inline
 
 : set-next-prev ( dlist-node -- )
     dup next>> set-prev-when ; inline
@@ -74,13 +74,13 @@ PRIVATE>
 
 M: dlist push-front* ( obj dlist -- dlist-node )
     [ front>> f swap <dlist-node> dup dup set-next-prev ] keep
-    [ (>>front) ] keep
+    [ front<< ] keep
     set-back-to-front ;
 
 M: dlist push-back* ( obj dlist -- dlist-node )
     [ back>> f <dlist-node> ] keep
     [ back>> set-next-when ] 2keep
-    [ (>>back) ] 2keep
+    [ back<< ] 2keep
     set-front-to-back ;
 
 ERROR: empty-dlist ;
index f1bc8adef996aff83726defec4233bec8950e1d0..2a3e82265bfb1f4ed3bd3bcf99842fe5cdec8e19 100644 (file)
@@ -83,7 +83,7 @@ C: <ftp-disconnect> ftp-disconnect
 
 : handle-USER ( ftp-command -- )
     [
-        tokenized>> second client get (>>user)
+        tokenized>> second client get user<<
         "Please specify the password." 331 server-response
     ] [
         2drop "bad USER" ftp-error
@@ -91,7 +91,7 @@ C: <ftp-disconnect> ftp-disconnect
 
 : handle-PASS ( ftp-command -- )
     [
-        tokenized>> second client get (>>password)
+        tokenized>> second client get password<<
         "Login successful" 230 server-response
     ] [
         2drop "PASS error" ftp-error
@@ -241,7 +241,7 @@ M: ftp-disconnect handle-passive-command ( stream obj -- )
     ] if ;
 
 : expect-connection ( -- port )
-    <promise> client get (>>extra-connection)
+    <promise> client get extra-connection<<
     random-local-server
     [ [ passive-loop ] curry in-thread ]
     [ addr>> port>> ] bi ;
index 8a08063595692136dace4aaf9c4f4423fc5b6bf4..a187300960bee07d9bb6be8502fbeb85a041d848 100644 (file)
@@ -143,6 +143,6 @@ CHLOE: button
     {
         [ [ attrs>> chloe-attrs-only ] dip add-tag-attrs ]
         [ [ attrs>> non-chloe-attrs-only ] dip "button" deep-tag-named add-tag-attrs ]
-        [ [ children>> ] dip "button" deep-tag-named (>>children) ]
+        [ [ children>> ] dip "button" deep-tag-named children<< ]
         [ nip ]
     } 2cleave compile-chloe-tag ;
index 32c2cd47bfb7339e11c68310902c91e6f2319218..800b2c4720376451084509fbcbcd66eb7a9a52a5 100644 (file)
@@ -56,14 +56,14 @@ MACRO: map-index-compose ( seq quot -- seq )
 : fill-controller-state ( XINPUT_STATE -- controller-state )
     Gamepad>> controller-state new dup rot
     {
-        [ wButtons>> HEX: f bitand >pov swap (>>pov) ]
-        [ wButtons>> fill-buttons swap (>>buttons) ]
-        [ sThumbLX>> >axis swap (>>x) ]
-        [ sThumbLY>> >axis swap (>>y) ]
-        [ sThumbRX>> >axis swap (>>rx) ]
-        [ sThumbRY>> >axis swap (>>ry) ]
-        [ bLeftTrigger>> >trigger swap (>>z) ]
-        [ bRightTrigger>> >trigger swap (>>rz) ]
+        [ wButtons>> HEX: f bitand >pov swap pov<< ]
+        [ wButtons>> fill-buttons swap buttons<< ]
+        [ sThumbLX>> >axis swap x<< ]
+        [ sThumbLY>> >axis swap y<< ]
+        [ sThumbRX>> >axis swap rx<< ]
+        [ sThumbRY>> >axis swap ry<< ]
+        [ bLeftTrigger>> >trigger swap z<< ]
+        [ bRightTrigger>> >trigger swap rz<< ]
     } 2cleave ;
 PRIVATE>
 
index 91ee1c9c79164ccb0c0bfb1c478b7b7196482abf..076fa593524a3f1d884a3911c707d65c53478a08 100644 (file)
@@ -11,7 +11,7 @@ M: link definer drop \ ARTICLE: \ ; ;
 
 M: link where name>> article loc>> ;
 
-M: link set-where name>> article (>>loc) ;
+M: link set-where name>> article loc<< ;
 
 M: link forget* name>> remove-article ;
 
index 06f2255dfaa0f28a9f089fa287b2fe142c491ac6..241e54d967c746261b61a13626fe622aca48746d 100644 (file)
@@ -14,7 +14,7 @@ M: tip forget* tips get remove-eq! drop ;
 
 M: tip where loc>> ;
 
-M: tip set-where (>>loc) ;
+M: tip set-where loc<< ;
 
 : <tip> ( content -- tip ) f tip boa ;
 
index 894e1dbdc8ec47a236cf341236ae1872a07091d2..fcceab18785e50df333102e6de7a476f9e07c841 100644 (file)
@@ -9,4 +9,4 @@ M: hashtable blahblah 2nip [ 1 + ] change-count drop ;
 
 HINTS: M\ hashtable blahblah { object fixnum object } { object word object } ;
 
-[ t ] [ M\ hashtable blahblah { count>> (>>count) } inlined? ] unit-test
+[ t ] [ M\ hashtable blahblah { count>> count<< } inlined? ] unit-test
index db30faee33322a7cd7c7a9dc63afa56c6d4b1617..937c73ceb008d544d0c733cd260d6993b51066d8 100644 (file)
@@ -80,7 +80,7 @@ TUPLE: jpeg-color-info
 : jpeg> ( -- jpeg-image ) jpeg-image get ;
 
 : apply-diff ( dc color -- dc' )
-    [ diff>> + dup ] [ (>>diff) ] bi ;
+    [ diff>> + dup ] [ diff<< ] bi ;
 
 : fetch-tables ( component -- )
     [ [ jpeg> quant-tables>> nth ] change-quant-table drop ]
@@ -98,7 +98,7 @@ TUPLE: jpeg-color-info
         read1 8 assert=
         2 read be>
         2 read be>
-        swap 2array jpeg> (>>dim)
+        swap 2array jpeg> dim<<
         read1
         [
             read1 read4/4 read1 <jpeg-color-info>
@@ -141,7 +141,7 @@ TUPLE: jpeg-color-info
         [   drop
             read1 jpeg> color-info>> nth clone
             read1 16 /mod [ >>dc-huff-table ] [ >>ac-huff-table ] bi*
-        ] map jpeg> (>>components)
+        ] map jpeg> components<<
         read1 0 assert=
         read1 63 assert=
         read1 16 /mod [ 0 assert= ] bi@
@@ -346,7 +346,7 @@ SINGLETONS: YUV420 YUV444 Y MAGIC! ;
 
 : baseline-decompress ( -- )
     jpeg> bitstream>> cleanup-bitstream { 255 255 255 255 } append
-    >byte-array bs:<msb0-bit-reader> jpeg> (>>bitstream)
+    >byte-array bs:<msb0-bit-reader> jpeg> bitstream<<
     jpeg> 
     [ bitstream>> ] 
     [ [ [ <huffman-decoder> ] with map ] change-huff-tables drop ] bi
index 5cbe7b3ad94155f0630331b5ad9cb725d55d8076..bd59afc26d45387268b8ee70384a7d832bf4531d 100644 (file)
@@ -90,7 +90,7 @@ ERROR: invalid-file-size n ;
 ERROR: seek-before-start n ;
 
 : set-seek-ptr ( n handle -- )
-    [ dup 0 < [ seek-before-start ] when ] dip (>>ptr) ;
+    [ dup 0 < [ seek-before-start ] when ] dip ptr<< ;
 
 M: winnt tell-handle ( handle -- n ) ptr>> ;
 
index 7d4d7f1215f6fa89b43fd118c1e9d68faa238d6b..4f092d628246fbb13aeb39fb98682140d77180ab 100644 (file)
@@ -56,7 +56,7 @@ M:: iso2022-state encode-char ( char stream encoding -- )
     char encoding type>> value? [
         char find-type
         [ stream stream-write ]
-        [ encoding (>>type) ] bi*
+        [ encoding type<< ] bi*
     ] unless
     char encoding type>> value-at stream stream-write-num ;
 
@@ -92,7 +92,7 @@ M:: iso2022-state decode-char ( stream encoding -- char )
     stream stream-read1 {
         { ESC [
             stream read-escape [
-                encoding (>>type)
+                encoding type<<
                 stream encoding decode-char
             ] [ replacement-char ] if*
         ] }
index 16d9cbf6c9975cb480ef1cd124f1030a321d247c..959bf931199665bd1e0420de290e3554a9b64ce9 100644 (file)
@@ -105,6 +105,6 @@ IN: io.launcher.windows.nt
 
 M: winnt fill-redirection ( process args -- )
     dup lpStartupInfo>>
-    [ [ redirect-stdout ] dip (>>hStdOutput) ]
-    [ [ redirect-stderr ] dip (>>hStdError) ]
-    [ [ redirect-stdin ] dip (>>hStdInput) ] 3tri ;
+    [ [ redirect-stdout ] dip hStdOutput<< ]
+    [ [ redirect-stderr ] dip hStdError<< ]
+    [ [ redirect-stdin ] dip hStdInput<< ] 3tri ;
index 731798c424f01b0cd4d32002d5984335823d753a..f3e744a59af4628351223ad448408c80e115c252 100644 (file)
@@ -24,7 +24,7 @@ TUPLE: monitor < disposable path queue timeout ;
 
 M: monitor timeout timeout>> ;
 
-M: monitor set-timeout (>>timeout) ;
+M: monitor set-timeout timeout<< ;
 
 <PRIVATE
 
index cd0843a70b45e025feb8ac6bb02ea704a7f170e5..6a30a1ed07c76b86ba11dbd873010f66a7e42e67 100644 (file)
@@ -15,7 +15,7 @@ TUPLE: port < disposable handle timeout ;
 
 M: port timeout timeout>> ;
 
-M: port set-timeout (>>timeout) ;
+M: port set-timeout timeout<< ;
 
 : <port> ( handle class -- port )
     new-disposable swap >>handle ; inline
index 0f3ac39607e089ac63c99c92c12d14d7a9ae1529..cf1edc0cb1bc0f407703e2cd73ee9a61b60551f9 100644 (file)
@@ -34,7 +34,7 @@ M: win32-socket dispose ( stream -- )
     handle>> closesocket drop ;\r
 \r
 : unspecific-sockaddr/size ( addrspec -- sockaddr len )\r
-    [ empty-sockaddr/size ] [ protocol-family ] bi pick (>>family) ;\r
+    [ empty-sockaddr/size ] [ protocol-family ] bi pick family<< ;\r
 \r
 : opened-socket ( handle -- win32-socket )\r
     <win32-socket> |dispose dup add-completion ;\r
index f5aab9c97619a5e66ea5cabed0e2735c190b36c7..25f1d88363597ae08385d2c83450e52572428fd9 100644 (file)
@@ -128,9 +128,9 @@ M: limited-stream stream-read-partial
 
 :: limited-stream-seek ( n seek-type stream -- )
     seek-type {
-        { seek-absolute [ n stream (>>current) ] }
+        { seek-absolute [ n stream current<< ] }
         { seek-relative [ stream [ n + ] change-current drop ] }
-        { seek-end [ stream stop>> n - stream (>>current) ] }
+        { seek-end [ stream stop>> n - stream current<< ] }
         [ bad-seek-type ]
     } case ;
 
index 15f4d5376db846961b8b99d1b3368d45841bdb66..8714bdfb1a3864e6e2816ce7a73e8bed16fa387d 100644 (file)
@@ -58,8 +58,8 @@ M: rect contains-point?
     [ rect-bounds ] dip vmin <rect> ;
 
 : set-rect-bounds ( rect1 rect -- )
-    [ [ loc>> ] dip (>>loc) ]
-    [ [ dim>> ] dip (>>dim) ]
+    [ [ loc>> ] dip loc<< ]
+    [ [ dim>> ] dip dim<< ]
     2bi ; inline
 
 USE: vocabs.loader
index bcc05564fc2745df386602df82ad7e0a09ee93e5..accced4b790fbd6609b931578836dc74e96cb161 100644 (file)
@@ -138,11 +138,11 @@ GENERIC: advance ( dt object -- )
 
 : update-velocity ( dt actor -- )
     [ acceleration>> n*v ] [ velocity>> v+ ] [ ] tri
-    (>>velocity) ; inline
+    velocity<< ; inline
 
 : update-position ( dt actor -- )
     [ velocity>> n*v ] [ position>> v+ ] [ ] tri
-    (>>position) ; inline
+    position<< ; inline
 
 M: actor advance ( dt actor -- )
     [ >float ] dip
index f9927cfd4cc181b1f549a59a904117c525498cff..1b6f0f30c270f97f03743076c6a7deb329e043fe 100644 (file)
@@ -94,7 +94,7 @@ M: model update-model drop ;
     ((change-model)) set-model ; inline
 
 : (change-model) ( model quot -- )
-    ((change-model)) (>>value) ; inline
+    ((change-model)) value<< ; inline
 
 GENERIC: range-value ( model -- value )
 GENERIC: range-page-value ( model -- value )
index e50c1d8d950bd90bc9d8125a1acc1acba1a71609..e0c5350ed1e470bff7e8f2e38c5b98694bf239f8 100644 (file)
@@ -160,7 +160,7 @@ TUPLE: peg-head rule-id involved-set eval-set ;
   s [ 
     s left-recursion? [ s throw ] unless
     s head>> l head>> eq? [
-      l head>> s (>>head)
+      l head>> s head<<
       l head>> [ s rule-id>> suffix ] change-involved-set drop
       l s next>> (setup-lr)
     ] unless 
@@ -168,14 +168,14 @@ TUPLE: peg-head rule-id involved-set eval-set ;
 
 :: setup-lr ( r l -- )
   l head>> [
-    r rule-id V{ } clone V{ } clone peg-head boa l (>>head)
+    r rule-id V{ } clone V{ } clone peg-head boa l head<<
   ] unless
   l lrstack get (setup-lr) ;
 
 :: lr-answer ( r p m -- ast )
     m ans>> head>> :> h
     h rule-id>> r rule-id eq? [
-      m ans>> seed>> m (>>ans)
+      m ans>> seed>> m ans<<
       m ans>> failed? [
         fail
       ] [
@@ -210,14 +210,14 @@ TUPLE: peg-head rule-id involved-set eval-set ;
     lr lrstack set lr p memo-entry boa dup p r rule-id set-memo :> m
     r eval-rule :> ans
     lrstack get next>> lrstack set
-    pos get m (>>pos)
+    pos get m pos<<
     lr head>> [
       m ans>> left-recursion? [
-        ans lr (>>seed)
+        ans lr seed<<
         r p m lr-answer
      ] [ ans ] if 
     ] [
-      ans m (>>ans)
+      ans m ans<<
       ans
     ] if ; inline
 
@@ -387,7 +387,7 @@ TUPLE: seq-parser parsers ;
 
 : calc-seq-result ( prev-result current-result -- next-result )
   [
-    [ remaining>> swap (>>remaining) ] 2keep
+    [ remaining>> swap remaining<< ] 2keep
     ast>> dup ignore? [  
       drop
     ] [
@@ -427,7 +427,7 @@ TUPLE: repeat0-parser p1 ;
 
 : (repeat) ( quot: ( -- result ) result -- result )
   over call [
-    [ remaining>> swap (>>remaining) ] 2keep 
+    [ remaining>> swap remaining<< ] 2keep 
     ast>> swap [ ast>> push ] keep
     (repeat) 
   ] [
index cd606667fdf1c2d482632c0a7268856e8ae68b55..9c23f6017d5dbd05b29b3d3db112709f909922dd 100644 (file)
@@ -41,7 +41,7 @@ TUPLE: pprinter last-newline line-count indent ;
     dup pprinter get last-newline>> = [
         drop
     ] [
-        pprinter get (>>last-newline)
+        pprinter get last-newline<<
         line-limit? [
             "..." write pprinter get return
         ] when
@@ -338,8 +338,8 @@ M: block long-section ( block -- )
 
 : pprinter-manifest ( -- manifest )
     <manifest>
-    [ [ pprinter-use get keys >vector ] dip (>>search-vocabs) ]
-    [ [ pprinter-in get ] dip (>>current-vocab) ]
+    [ [ pprinter-use get keys >vector ] dip search-vocabs<< ]
+    [ [ pprinter-in get ] dip current-vocab<< ]
     [ ]
     tri ;
 
index 04049b542d169edae412682ab7afd79b1772e7fb..7a80cda062eb6b56434ef27ad9417aeb7c77d5c0 100644 (file)
@@ -60,8 +60,8 @@ GENERIC: generate ( sfmt -- )
 M:: sfmt generate ( sfmt -- )
     sfmt state>> :> state
     sfmt uint-4-array>> :> array
-    state n>> 2 - array nth state (>>r1)
-    state n>> 1 - array nth state (>>r2)
+    state n>> 2 - array nth state r1<<
+    state n>> 1 - array nth state r2<<
     state m>> :> m
     state n>> :> n
     state mask>> :> mask
@@ -72,8 +72,8 @@ M:: sfmt generate ( sfmt -- )
         mask state r1>> state r2>> formula :> r
 
         r i array set-nth-unsafe
-        state r2>> state (>>r1)
-        r state (>>r2)
+        state r2>> state r1<<
+        r state r2<<
     ] each
 
     ! n m - 1 + n [a,b) [
@@ -84,11 +84,11 @@ M:: sfmt generate ( sfmt -- )
         mask state r1>> state r2>> formula :> r
 
         r i array set-nth-unsafe
-        state r2>> state (>>r1)
-        r state (>>r2)
+        state r2>> state r1<<
+        r state r2<<
     ] each
 
-    0 state (>>index) ;
+    0 state index<< ;
 
 : period-certified? ( sfmt -- ? )
     [ uint-4-array>> first ]
index 668cdd65c3dcfdb025dde18c106d416786ebbff4..18b749087cc58542bc8e42b2280f004007dac2ec 100644 (file)
@@ -30,7 +30,7 @@ M: ref delete-ref ref-off ;
 TUPLE: obj-ref obj ;
 C: <obj-ref> obj-ref
 M: obj-ref get-ref obj>> ;
-M: obj-ref set-ref (>>obj) ;
+M: obj-ref set-ref obj<< ;
 INSTANCE: obj-ref ref
 
 TUPLE: var-ref var ;
index 416781bdb3374031d9e01b72f6d5088a7a2ae740..235ff5148f6b6603d6475b5666f29a99a8647640 100644 (file)
@@ -73,7 +73,7 @@ IN: regexp.dfa
         [ transitions>> keys ] bi*
         [ intersects? ] with filter
         fast-set
-    ] keep (>>final-states) ;
+    ] keep final-states<< ;
 
 : initialize-dfa ( nfa -- dfa )
     <transition-table>
index 322d4cf48872a24a3360ca16037cc69d884bf018..8e1b1f540cc771d7fd4f73e35b3a32cc6c58ae8a 100644 (file)
@@ -15,7 +15,7 @@ TUPLE: sequence-parser sequence n ;
 :: with-sequence-parser ( sequence-parser quot -- seq/f )
     sequence-parser n>> :> n
     sequence-parser quot call [
-        n sequence-parser (>>n) f
+        n sequence-parser n<< f
     ] unless* ; inline
 
 : offset  ( sequence-parser offset -- char/f )
@@ -92,7 +92,7 @@ TUPLE: sequence-parser sequence n ;
         sequence-parser [ growing length - 1 + ] change-n drop
         ! sequence-parser advance drop
     ] [
-        saved sequence-parser (>>n)
+        saved sequence-parser n<<
         f
     ] if ;
 
index 35a9ce7787e831f99acdabced598c16a654328b0..3cc53cda9d58ef059ef74028b9da17637dea3338 100644 (file)
@@ -145,7 +145,7 @@ SYMBOL: +stopped+
 : associate-thread ( walker -- )
     walker-thread tset
     [ f walker-thread tget send-synchronous drop ]
-    self (>>exit-handler) ;
+    self exit-handler<< ;
 
 : start-walker-thread ( status continuation -- thread' )
     self [
index d4f9b82cffad38911d7ab6dd95f132530754dd39..0ce6a8cb085fd918536c1efcb5410e5e0c6fcb0d 100644 (file)
@@ -138,7 +138,7 @@ M:: cocoa-ui-backend (open-window) ( world -- )
     window world window-loc>> auto-position
     world window save-position
     window install-window-delegate
-    view window <window-handle> world (>>handle)
+    view window <window-handle> world handle<<
     window f -> makeKeyAndOrderFront: ;
 
 M: cocoa-ui-backend (close-window) ( handle -- )
index c8fcabf2c6d47a34d38254b79ae1fb388b9ed3f1..46bea3e256bc3982beb721fafd4dc7af54c36abe 100755 (executable)
@@ -285,12 +285,12 @@ CONSTANT: window-control>ex-style
 : handle-wm-size ( hWnd uMsg wParam lParam -- )
     2nip
     [ lo-word ] keep hi-word 2array
-    dup { 0 0 } = [ 2drop ] [ swap window [ (>>dim) ] [ drop ] if* ] if ;
+    dup { 0 0 } = [ 2drop ] [ swap window [ dim<< ] [ drop ] if* ] if ;
 
 : handle-wm-move ( hWnd uMsg wParam lParam -- )
     2nip
     [ lo-word ] keep hi-word 2array
-    swap window [ (>>window-loc) ] [ drop ] if* ;
+    swap window [ window-loc<< ] [ drop ] if* ;
 
 CONSTANT: wm-keydown-codes
     H{
@@ -415,7 +415,7 @@ CONSTANT: exclude-keys-wm-char
     ] unless ;
 
 :: set-window-active ( hwnd uMsg wParam lParam ? -- n )
-    ? hwnd window (>>active?)
+    ? hwnd window active?<<
     hwnd uMsg wParam lParam DefWindowProc ;
 
 : handle-wm-syscommand ( hWnd uMsg wParam lParam -- n )
index 1cb1738007361e1e437b53a023b65db9dc84c9a1..2f979ee4f134969aa25aed616258093711e09621 100644 (file)
@@ -233,7 +233,7 @@ M: x11-ui-backend do-events
 
 M: x-clipboard copy-clipboard
     [ x-clipboard@ own-selection ] keep
-    (>>contents) ;
+    contents<< ;
 
 M: x-clipboard paste-clipboard
     [ find-world handle>> window>> ] dip atom>> convert-selection ;
index 42c3f6ddef79a0ce77639b42cf8a69d0ba1915d5..ec7bb5993151b62a1117f152b4d617a0ceccbd8b 100644 (file)
@@ -15,7 +15,7 @@ GENERIC: set-clipboard-contents ( string clipboard -- )
 
 M: clipboard clipboard-contents contents>> ;
 
-M: clipboard set-clipboard-contents (>>contents) ;
+M: clipboard set-clipboard-contents contents<< ;
 
 : <clipboard> ( -- clipboard ) "" clipboard boa ;
 
index 3c1ece1f5ee20ae4d40569b260eff7ac5be9837e..267654304a144f4d4b094cec97d534f98e1525a4 100644 (file)
@@ -174,7 +174,7 @@ M: gadget dim-changed
 
 PRIVATE>
 
-M: gadget (>>dim) ( dim gadget -- )
+M: gadget dim<< ( dim gadget -- )
     2dup dim>> =
     [ 2drop ]
     [ [ nip ] [ call-next-method ] 2bi dim-changed ] if ;
@@ -184,7 +184,7 @@ GENERIC: pref-dim* ( gadget -- dim )
 : pref-dim ( gadget -- dim )
     dup pref-dim>> [ ] [
         [ pref-dim* ] [ ] [ layout-state>> ] tri
-        [ drop ] [ dupd (>>pref-dim) ] if
+        [ drop ] [ dupd pref-dim<< ] if
     ] ?if ;
 
 : pref-dims ( gadgets -- seq ) [ pref-dim ] map ;
index c655e289b0f6063a21f4ac6486d393f3f714d3ea..5e91e5bfb7d44a00b088ccfcba25014d8bd16716 100644 (file)
@@ -26,14 +26,14 @@ PRIVATE>
 
 ERROR: not-a-string object ;
 
-M: label (>>string) ( string label -- )
+M: label string<< ( string label -- )
     [
         {
             { [ dup string-array? ] [ ] }
             { [ dup string? ] [ ?string-lines ] }
             [ not-a-string ]
         } cond
-    ] dip (>>text) ; inline
+    ] dip text<< ; inline
 
 : label-theme ( gadget -- gadget )
     sans-serif-font >>font ; inline
index 5f21d74180409e70a3db3b9b94f16a6eae33b281..09a0e222d8bf9d34af10a0024a0d9f836e31c9a4 100644 (file)
@@ -46,8 +46,8 @@ PRIVATE>
 
 : pack-layout ( pack sizes -- )
     [ round-dims packed-dims ] [ drop ] 2bi
-    [ children>> [ (>>dim) ] 2each ]
-    [ [ packed-locs ] [ children>> ] bi [ (>>loc) ] 2each ] 2bi ;
+    [ children>> [ dim<< ] 2each ]
+    [ [ packed-locs ] [ children>> ] bi [ loc<< ] 2each ] 2bi ;
 
 : <pack> ( orientation -- pack )
     pack new
index bcdccb23cd7d080c8dba30fda606beec05f973b4..cdee1ab02d46de7acec810951d7f142739a19606 100644 (file)
@@ -76,14 +76,14 @@ TUPLE: world-attributes
 : show-status ( string/f gadget -- )
     dup find-world dup [
         dup status>> [
-            [ (>>status-owner) ] [ status>> set-model ] bi
+            [ status-owner<< ] [ status>> set-model ] bi
         ] [ 3drop ] if
     ] [ 3drop ] if ;
 
 : hide-status ( gadget -- )
     dup find-world dup [
         [ status-owner>> eq? ] keep
-        '[ f _ [ (>>status-owner) ] [ status>> set-model ] 2bi ] when
+        '[ f _ [ status-owner<< ] [ status>> set-model ] 2bi ] when
     ] [ 2drop ] if ;
 
 : window-resource ( resource -- resource )
@@ -174,7 +174,7 @@ M: world end-world
 M: world resize-world
     drop ;
 
-M: world (>>dim)
+M: world dim<<
     [ call-next-method ]
     [
         dup active?>> [
index c3e51c39edf15a311d8e0e78a4fe7bc70446c652..a45c325cc6c114c18b6f135704230a90bcdcbbf6 100644 (file)
@@ -227,11 +227,11 @@ SYMBOL: drag-timer
             dup send-lose-focus
             f swap t focus-child
         ] when*
-        dupd (>>focus) [
+        dupd focus<< [
             send-gain-focus
         ] when*
     ] [
-        (>>focus)
+        focus<<
     ] if ;
 
 : modifier ( mod modifiers -- seq )
index 454e4700a0ac78f6bd120afc6459493824436c95..3412d039491775d922f81ff83a660c00e2c9c3df 100644 (file)
@@ -5,7 +5,7 @@ IN: ui.tools.browser.history.tests
 TUPLE: dummy obj ;
 
 M: dummy history-value obj>> ;
-M: dummy set-history-value (>>obj) ;
+M: dummy set-history-value obj<< ;
 
 dummy new <history> "history" set
 
index fbbac8f3fa137e97b17ecb5ff8479bbeea747c52..94d0b4f263b3d39d7c5793b94b1c63abc226e8e4 100644 (file)
@@ -16,7 +16,7 @@ IN: ui.tools.listener.tests
     [ ] [ <promise> "promise" set ] unit-test
 
     [
-        self "interactor" get (>>thread)
+        self "interactor" get thread<<
         "interactor" get stream-read-quot "promise" get fulfill
     ] "Interactor test" spawn drop
 
@@ -40,7 +40,7 @@ IN: ui.tools.listener.tests
     [ ] [ <promise> "promise" set ] unit-test
 
     [
-        self "interactor" get (>>thread)
+        self "interactor" get thread<<
         "interactor" get stream-readln "promise" get fulfill
     ] "Interactor test" spawn drop
 
index bf32b329ceb111fd11bec2a5e7a33fed94082f01..bf186ee9a81b19f0a2e7d5046879cbadbf96e997 100644 (file)
@@ -251,7 +251,7 @@ HOOK: system-alert ui-backend ( caption text -- )
 : define-main-window ( word attributes quot -- )
     [
         '[ [ f _ clone @ open-window ] with-ui ] (( -- )) define-declared
-    ] [ 2drop current-vocab (>>main) ] 3bi ;
+    ] [ 2drop current-vocab main<< ] 3bi ;
 
 SYNTAX: MAIN-WINDOW:
     CREATE
index 9e2c9539c6ecfa2362efbbc7892a1aee165e2cd6..a1ec025e45bd7a62e48bf883dc556403f8d17ba3 100644 (file)
@@ -47,7 +47,7 @@ M: unrolled-list clear-deque
         unroll-factor 0 <array>
         [ unroll-factor 1 - swap set-nth ] keep f
     ] dip [ node boa dup ] keep
-    dup [ (>>prev) ] [ 2drop ] if ; inline
+    dup [ prev<< ] [ 2drop ] if ; inline
 
 : normalize-back ( list -- )
     dup back>> [
@@ -93,7 +93,7 @@ M: unrolled-list pop-front*
     [
         unroll-factor 0 <array> [ set-first ] keep
     ] dip [ f node boa dup ] keep
-    dup [ (>>next) ] [ 2drop ] if ; inline
+    dup [ next<< ] [ 2drop ] if ; inline
 
 : normalize-front ( list -- )
     dup front>> [
index 4329affe82b33ec342ec5127a54ab458d5b56b61..61217b10379f90544b675f919576c491bdd7aea0 100644 (file)
@@ -41,7 +41,7 @@ M: value-word definer drop \ VALUE: f ;
 M: value-word definition drop f ;
 
 : set-value ( value word -- )
-    def>> first (>>obj) ;
+    def>> first obj<< ;
 
 SYNTAX: to:
     scan-word literalize suffix!
index 419dfbba53bfbcd3ec13512d5063380982bfa26e..1ca0979ca386d4fbd3dded40a980ab5cdc32f3ee 100644 (file)
@@ -47,7 +47,7 @@ M: attrs set-at
         2nip set-second
     ] [
         [ assure-name swap 2array ] dip
-        [ alist>> ?push ] keep (>>alist)
+        [ alist>> ?push ] keep alist<<
     ] if* ;
 
 M: attrs assoc-size alist>> length ;
index 5d0f7f0ea487e7aa1ea1c760fedcb3df207ca6df..e576a672c2f35d4ac8296543d044e5fca61cbe91 100644 (file)
@@ -11,9 +11,9 @@ TAGS: parse-mode-tag ( modes tag -- )
 TAG: MODE parse-mode-tag
     dup "NAME" attr [
         mode new {
-            { "FILE" f (>>file) }
-            { "FILE_NAME_GLOB" f (>>file-name-glob) }
-            { "FIRST_LINE_GLOB" f (>>first-line-glob) }
+            { "FILE" f file<< }
+            { "FILE_NAME_GLOB" f file-name-glob<< }
+            { "FIRST_LINE_GLOB" f first-line-glob<< }
         } init-from-tag
     ] dip
     rot set-at ;
@@ -70,7 +70,7 @@ DEFER: finalize-rule-set
     over [ assoc-union! ] [ nip clone ] if ;
 
 : import-keywords ( parent child -- )
-    over [ [ keywords>> ] bi@ ?update ] dip (>>keywords) ;
+    over [ [ keywords>> ] bi@ ?update ] dip keywords<< ;
 
 : import-rules ( parent child -- )
     swap [ add-rule ] curry each-rule ;
index e5d5112a275b45c406d5c4261612b686c887f187..43fe47a650643b4229cdc2a683540c6ef2c4d75f 100644 (file)
@@ -45,7 +45,7 @@ RULE: MARK_PREVIOUS mark-previous-rule parse-rule-tag
 TAG: KEYWORDS parse-rule-tag
     rule-set get ignore-case?>> <keyword-map>
     swap children-tags [ over parse-keyword-tag ] each
-    swap (>>keywords) ;
+    swap keywords<< ;
 
 : ?<regexp> ( string/f -- regexp/f )
     dup [ rule-set get ignore-case?>> <?insensitive-regexp> ] when ;
@@ -53,13 +53,13 @@ TAG: KEYWORDS parse-rule-tag
 : (parse-rules-tag) ( tag -- rule-set )
     <rule-set> dup rule-set set
     {
-        { "SET" string>rule-set-name (>>name) }
-        { "IGNORE_CASE" string>boolean (>>ignore-case?) }
-        { "HIGHLIGHT_DIGITS" string>boolean (>>highlight-digits?) }
-        { "DIGIT_RE" ?<regexp> (>>digit-re) }
+        { "SET" string>rule-set-name name<< }
+        { "IGNORE_CASE" string>boolean ignore-case?<< }
+        { "HIGHLIGHT_DIGITS" string>boolean highlight-digits?<< }
+        { "DIGIT_RE" ?<regexp> digit-re<< }
         { "ESCAPE" f add-escape-rule }
-        { "DEFAULT" string>token (>>default) }
-        { "NO_WORD_SEP" f (>>no-word-sep) }
+        { "DEFAULT" string>token default<< }
+        { "NO_WORD_SEP" f no-word-sep<< }
     } init-from-tag ;
 
 : parse-rules-tag ( tag -- rule-set )
index d2e1d997216dd73bb161607fabe8768509e8f052..5f093b0ccb0de0d7b866bd7df647418bb64d55ce 100644 (file)
@@ -52,24 +52,24 @@ SYNTAX: RULE:
     swap position-attrs <matcher> ;
 
 : shared-tag-attrs ( -- )
-    { "TYPE" string>token (>>body-token) } , ; inline
+    { "TYPE" string>token body-token<< } , ; inline
 
 : parse-delegate ( string -- pair )
     "::" split1 [ rule-set get swap ] unless* 2array ;
 
 : delegate-attr ( -- )
-    { "DELEGATE" f (>>delegate) } , ;
+    { "DELEGATE" f delegate<< } , ;
 
 : regexp-attr ( -- )
-    { "HASH_CHAR" f (>>chars) } , ;
+    { "HASH_CHAR" f chars<< } , ;
 
 : match-type-attr ( -- )
-    { "MATCH_TYPE" string>match-type (>>match-token) } , ;
+    { "MATCH_TYPE" string>match-type match-token<< } , ;
 
 : span-attrs ( -- )
-    { "NO_LINE_BREAK" string>boolean (>>no-line-break?) } ,
-    { "NO_WORD_BREAK" string>boolean (>>no-word-break?) } ,
-    { "NO_ESCAPE" string>boolean (>>no-escape?) } , ;
+    { "NO_LINE_BREAK" string>boolean no-line-break?<< } ,
+    { "NO_WORD_BREAK" string>boolean no-word-break?<< } ,
+    { "NO_ESCAPE" string>boolean no-escape?<< } , ;
 
 : literal-start ( -- )
     [ parse-literal-matcher >>start drop ] , ;
index 6b8db76ac97e88186280949eb8c9855a38563851..73519e105c396a53ba0affaaac40012213a79d2b 100644 (file)
@@ -181,7 +181,7 @@ M: abstract-span-rule handle-rule-start
     add-remaining-token
     [ rule-match-token* next-token, ] keep
     ! ... end subst ...
-    dup context get (>>in-rule)
+    dup context get in-rule<<
     delegate>> push-context ;
 
 M: span-rule handle-rule-end
@@ -191,12 +191,12 @@ M: mark-following-rule handle-rule-start
     ?end-rule
     mark-token add-remaining-token
     [ rule-match-token* next-token, ] keep
-    f context get (>>end)
-    context get (>>in-rule) ;
+    f context get end<<
+    context get in-rule<< ;
 
 M: mark-following-rule handle-rule-end
     nip rule-match-token* prev-token,
-    f context get (>>in-rule) ;
+    f context get in-rule<< ;
 
 M: mark-previous-rule handle-rule-start
     ?end-rule
index ffe6db3b4696f9cf32a5df17d273ab6f084293ae..7a67dc9f9b0b2e8bcb3046180681d59a978632dd 100644 (file)
@@ -79,7 +79,7 @@ TUPLE: eol-span-rule < rule ;
 : init-span ( rule -- )
     dup delegate>> [ drop ] [
         dup body-token>> standard-rule-set
-        swap (>>delegate)
+        swap delegate<<
     ] if ;
 
 : init-eol-span ( rule -- )
@@ -114,7 +114,7 @@ M: regexp text-hash-char drop f ;
 : add-escape-rule ( string ruleset -- )
     over [
         [ <escape-rule> ] dip
-        2dup (>>escape-rule)
+        2dup escape-rule<<
         add-rule
     ] [
         2drop
index b3bdcb4673cabfd24d781363d6dc023e05d97cee..037ecf8715f98f18923fcf04d1caeaf06e275549 100644 (file)
@@ -214,9 +214,9 @@ ARTICLE: "tuple-examples" "Tuple examples"
 "This defines a class word named " { $snippet "employee" } ", a predicate " { $snippet "employee?" } ", and the following slot accessors:"
 { $table
     { "Reader" "Writer" "Setter" "Changer" }
-    { { $snippet "name>>" }    { $snippet "(>>name)" }    { $snippet ">>name" }    { $snippet "change-name" }    }
-    { { $snippet "salary>>" } { $snippet "(>>salary)" } { $snippet ">>salary" } { $snippet "change-salary" } }
-    { { $snippet "position>>" }   { $snippet "(>>position)" }   { $snippet ">>position" }   { $snippet "change-position" }   }
+    { { $snippet "name>>" } { $snippet "name<<" } { $snippet ">>name" } { $snippet "change-name" } }
+    { { $snippet "salary>>" } { $snippet "salary<<" } { $snippet ">>salary" } { $snippet "change-salary" } }
+    { { $snippet "position>>" } { $snippet "position<<" } { $snippet ">>position" } { $snippet "change-position" }   }
 }
 "We can define a constructor which makes an empty employee:"
 { $code ": <employee> ( -- employee )"
index 1609c1eeca2ceb1dac6e336db9cc2c703cf66e2b..5aec400fbe1eae4c71c3a86113486e7c4a2b6725 100644 (file)
@@ -588,7 +588,7 @@ T{ reshape-test f "hi" } "tuple" set
 
 [ ] [ "IN: classes.tuple.tests TUPLE: reshape-test { x read-only } ;" eval( -- ) ] unit-test
 
-[ f ] [ \ reshape-test \ (>>x) method ] unit-test
+[ f ] [ \ reshape-test \ x<< method ] unit-test
 
 [ "tuple" get 5 >>x ] must-fail
 
index 3d5f16d7f14bf34e03eb33d5b10c22707a3e180c..8d52c98c71008a545d1499ffc87de1f5a65adb9f 100644 (file)
@@ -35,7 +35,7 @@ M: growable set-length ( n seq -- )
     ] [
         2dup capacity > [ 2dup expand ] when
     ] if
-    (>>length) ;
+    length<< ;
 
 : new-size ( old -- new ) 1 + 3 * ; inline
 
@@ -44,7 +44,7 @@ M: growable set-length ( n seq -- )
     2dup length >= [
         2dup capacity >= [ over new-size over expand ] when
         [ >fixnum ] dip
-        over 1 fixnum+fast over (>>length)
+        over 1 fixnum+fast over length<<
     ] [
         [ >fixnum ] dip
     ] if ; inline
@@ -56,14 +56,14 @@ M: growable clone (clone) [ clone ] change-underlying ; inline
 M: growable lengthen ( n seq -- )
     2dup length > [
         2dup capacity > [ over new-size over expand ] when
-        2dup (>>length)
+        2dup length<<
     ] when 2drop ; inline
 
 M: growable shorten ( n seq -- )
     growable-check
     2dup length < [
         2dup contract
-        2dup (>>length)
+        2dup length<<
     ] when 2drop ; inline
 
 M: growable new-resizable new-sequence 0 over set-length ; inline
index e31ed925d15e55672974c115833368181f52c73f..be5aa97634e02423ffff8382fa9ad96f14d3ebd4 100644 (file)
@@ -131,7 +131,7 @@ M: hashtable set-at ( value key hash -- )
 : push-unsafe ( elt seq -- )
     [ length ] keep
     [ underlying>> set-array-nth ]
-    [ [ 1 fixnum+fast { array-capacity } declare ] dip (>>length) ]
+    [ [ 1 fixnum+fast { array-capacity } declare ] dip length<< ]
     2bi ; inline
 
 PRIVATE>
index e3c6a8f26ccf404f510bc55b53d10d31a139dc72..cb6786fe1ceccebdb7ae531b33f3ed37b2b4cbc2 100644 (file)
@@ -32,9 +32,9 @@ SLOT: i
 
 : (stream-seek) ( n seek-type stream -- )
     swap {
-        { seek-absolute [ (>>i) ] }
+        { seek-absolute [ i<< ] }
         { seek-relative [ [ + ] change-i drop ] }
-        { seek-end [ [ underlying>> length + ] [ (>>i) ] bi ] }
+        { seek-end [ [ underlying>> length + ] [ i<< ] bi ] }
         [ bad-seek-type ]
     } case ;
 
index 7939a49d7a3e0eb27cc97590699151442f991287..d5eecde1a2da219a5078fdf446ebf690de5b226e 100644 (file)
@@ -49,7 +49,7 @@ ERROR: unexpected want got ;
 
 : change-lexer-column ( lexer quot -- )
     [ [ column>> ] [ line-text>> ] bi ] prepose keep
-    (>>column) ; inline
+    column<< ; inline
 
 GENERIC: skip-blank ( lexer -- )
 
index 92b34db6ecaf9da714257751e3ac1025563bd342..1fcf40aa20b3346338b1ae13c63e29b016544c0f 100644 (file)
@@ -28,9 +28,9 @@ $nl
 "The following uses writers, and requires some stack shuffling:"
 { $code
     "<email>"
-    "    \"Happy birthday\" over (>>subject)"
-    "    { \"bob@bigcorp.com\" } over (>>to)"
-    "    \"alice@bigcorp.com\" over (>>from)"
+    "    \"Happy birthday\" over subject<<"
+    "    { \"bob@bigcorp.com\" } over to<<"
+    "    \"alice@bigcorp.com\" over from<<"
     "send-email"
 }
 "Even if some of the slot values come from the stack underneath the tuple being constructed, setters win:"
@@ -44,9 +44,9 @@ $nl
 "The above has less shuffling than the writer version:"
 { $code
     "<email>"
-    "    [ (>>subject) ] keep"
-    "    [ (>>to) ] keep"
-    "    \"alice@bigcorp.com\" over (>>from)"
+    "    [ subject<< ] keep"
+    "    [ to<< ] keep"
+    "    \"alice@bigcorp.com\" over from<<"
     "send-email"
 }
 "The changer word abstracts a common pattern where a slot value is read then stored again; so the following is not idiomatic code:"
index 3548e22c336428b7cea07841ef50874fc6fa3f17..7ec0136467edcdf8fdf326beb6bb13f30683fd95 100644 (file)
@@ -24,7 +24,7 @@ SLOT: my-protocol-slot-test
 TUPLE: protocol-slot-test-tuple x ;
 
 M: protocol-slot-test-tuple my-protocol-slot-test>> x>> sq ;
-M: protocol-slot-test-tuple (>>my-protocol-slot-test) [ sqrt ] dip (>>x) ;
+M: protocol-slot-test-tuple my-protocol-slot-test<< [ sqrt ] dip x<< ;
 
 [ 9 ] [ T{ protocol-slot-test-tuple { x 3 } } my-protocol-slot-test>> ] unit-test
 
index 191205a9b47e7c9247f302d74a2192a5d468d8fe..6c7881b3ad7af9338083598f8cad7e4d0b6376ce 100644 (file)
@@ -59,7 +59,7 @@ M: object reader-quot
     ] 2bi ;
 
 : writer-word ( name -- word )
-    "(>>" ")" surround "accessors" create
+    "<<" append "accessors" create
     dup t "writer" set-word-prop ;
 
 ERROR: bad-slot-value value class ;
index 840ed94b966ffdfa2a0bcdae43450b15fd07f01b..120d91bb2269f8165aefda082d3a8b60c1cc0b8a 100644 (file)
@@ -16,11 +16,11 @@ checksum
 definitions ;
 
 : record-top-level-form ( quot file -- )
-    (>>top-level-form)
+    top-level-form<<
     [ ] [ H{ } notify-definition-observers ] if-bootstrapping ;
 
 : record-checksum ( lines source-file -- )
-    [ crc32 checksum-lines ] dip (>>checksum) ;
+    [ crc32 checksum-lines ] dip checksum<< ;
 
 : record-definitions ( file -- )
     new-definitions get >>definitions drop ;
index 0a5572e5308e67ba9a2abd8e3902c0473aa4c4af..d3dc72005abbfe32eb76e801ae1391c79f7fd5ce 100644 (file)
@@ -81,7 +81,7 @@ name>char-hook [
             [ column>> ] [ line-text>> ] bi
         ] dip swap subseq
     ] [
-        lexer get (>>column)
+        lexer get column<<
     ] bi ;
 
 : rest-of-line ( lexer -- seq )
index de719c72726bab9df1169e40136a2ccdb6acaa5b..92211a5b01d8476df3b6c89822e6dc36fe40440a 100644 (file)
@@ -233,7 +233,7 @@ IN: bootstrap.syntax
         "))" parse-effect suffix!
     ] define-core-syntax
 
-    "MAIN:" [ scan-word current-vocab (>>main) ] define-core-syntax
+    "MAIN:" [ scan-word current-vocab main<< ] define-core-syntax
 
     "<<" [
         [
index d21b7d20435d4b6c847fa68a696f475749771e1c..8d1d2664dabf043aae84224e0ebc34a584c1dc64 100644 (file)
@@ -86,7 +86,7 @@ PRIVATE>
 
 : set-current-vocab ( name -- )
     create-vocab
-    [ manifest get (>>current-vocab) ] [ (add-qualified) ] bi ;
+    [ manifest get current-vocab<< ] [ (add-qualified) ] bi ;
 
 : with-current-vocab ( name quot -- )
     manifest get clone manifest [
index 2b96d2a4f4e02dde9f33c783815b61a9f609480c..1fb5757695211b077a9daccc2c9008bf4ae5391a 100644 (file)
@@ -72,7 +72,7 @@ TUPLE: element syntax id tag tagclass encoding contentlength newobj objtype ;
 
 : (set-tag) ( -- )
     elements get id>> 31 bitand
-    dup elements get (>>tag)
+    dup elements get tag<<
     31 < [
         [ "unsupported tag encoding: #{" % 
           get-id # "}" %
@@ -81,22 +81,22 @@ TUPLE: element syntax id tag tagclass encoding contentlength newobj objtype ;
 
 : set-tagclass ( -- )
     get-id -6 shift tag-classes nth
-    elements get (>>tagclass) ;
+    elements get tagclass<< ;
 
 : set-encoding ( -- )
     get-id HEX: 20 bitand
     zero? "primitive" "constructed" ?
-    elements get (>>encoding) ;
+    elements get encoding<< ;
 
 : set-content-length ( -- )
     read1
     dup 127 <= [ 
         127 bitand read be>
-    ] unless elements get (>>contentlength) ;
+    ] unless elements get contentlength<< ;
 
 : set-newobj ( -- )
     elements get contentlength>> read
-    elements get (>>newobj) ;
+    elements get newobj<< ;
 
 : set-objtype ( syntax -- )
     builtin-syntax 2array [
@@ -104,7 +104,7 @@ TUPLE: element syntax id tag tagclass encoding contentlength newobj objtype ;
         elements get encoding>> swap at
         elements get tag>>
         swap at [ 
-            elements get (>>objtype)
+            elements get objtype<<
         ] when*
     ] each ;
 
@@ -130,7 +130,7 @@ SYMBOL: end
     } case ;
 
 : set-id ( -- boolean )
-    read1 dup elements get (>>id) ;
+    read1 dup elements get id<< ;
 
 : read-ber ( syntax -- object )
     element new
@@ -199,7 +199,7 @@ TUPLE: tag value ;
     ] with-scope ; inline
 
 : set-tag ( value -- )
-    tagnum get (>>value) ;
+    tagnum get value<< ;
 
 M: string >ber ( str -- byte-array )
     tagnum get value>> 1array "C" pack-native swap dup
index afd2f8830a15e59728253bbe906225909abe983c..f17db30c927dbf7ed0de4fc74c81d8403675e996 100644 (file)
@@ -65,7 +65,7 @@ TUPLE: meeting-place count mailbox ;
     first2 {
         [ [ [ 1 + ] change-count ] bi@ 2drop ]
         [ 2dup = [ [ 1 + ] change-self-count ] when 2drop ]
-        [ [ [ color>> ] bi@ complement-color ] [ [ (>>color) ] bi-curry@ bi ] 2bi ]
+        [ [ [ color>> ] bi@ complement-color ] [ [ color<< ] bi-curry@ bi ] 2bi ]
         [ [ mailbox>> f swap mailbox-put ] bi@ ]
     } 2cleave ;
 
index 57894217bd17f6cc5e4e47af7eee79d268975c61..9e613d54b44f6871f222e302a0e3999c612a7e73 100644 (file)
@@ -54,7 +54,7 @@ IN: c.lexer
     sequence-parser current quote-char = [
         sequence-parser advance* string
     ] [
-        start-n sequence-parser (>>n) f
+        start-n sequence-parser n<< f
     ] if ;
 
 : (take-token) ( sequence-parser -- string )
index 16ff95b1c0091f97af4794dffda6894dcd1c2468..e6f45ab245c539b7a8c1fec8a0e5f6aa939faee4 100644 (file)
@@ -45,13 +45,13 @@ MACRO: (vectored-element>) ( struct-class -- quot: ( elt -- struct ) )
 SLOT: (n)
 SLOT: (vectored)
 
-FUNCTOR: define-vectored-accessors ( S>> (>>S) T -- )
+FUNCTOR: define-vectored-accessors ( S>> S<< T -- )
 
 WHERE
 
 M: T S>>
     [ (n)>> ] [ (vectored)>> S>> ] bi nth-unsafe ; inline
-M: T (>>S)
+M: T S<<
     [ (n)>> ] [ (vectored)>> S>> ] bi set-nth-unsafe ; inline
 
 ;FUNCTOR
index ddea7e762a338002e682d84050bc7789483e5952..015d98157f67363ccebb48635796b63ecc3a48ca 100644 (file)
@@ -63,7 +63,7 @@ CONSTANT: sign-flag         HEX: 80
   #! Return the 16-bit pseudo register AF.
   [ a>> 8 shift ] keep f>> bitor ;
 
-: (>>af) ( value cpu -- )
+: af<< ( value cpu -- )
   #! Set the value of the 16-bit pseudo register AF
   [ >word< ] dip swap >>f swap >>a drop ;
 
@@ -71,7 +71,7 @@ CONSTANT: sign-flag         HEX: 80
   #! Return the 16-bit pseudo register BC.
   [ b>> 8 shift ] keep c>> bitor ;
 
-: (>>bc) ( value cpu -- )
+: bc<< ( value cpu -- )
   #! Set the value of the 16-bit pseudo register BC
   [ >word< ] dip swap >>c swap >>b drop ;
 
@@ -79,7 +79,7 @@ CONSTANT: sign-flag         HEX: 80
   #! Return the 16-bit pseudo register DE.
   [ d>> 8 shift ] keep e>> bitor ;
 
-: (>>de) ( value cpu -- )
+: de<< ( value cpu -- )
   #! Set the value of the 16-bit pseudo register DE
   [ >word< ] dip swap >>e swap >>d drop ;
 
@@ -87,7 +87,7 @@ CONSTANT: sign-flag         HEX: 80
   #! Return the 16-bit pseudo register HL.
   [ h>> 8 shift ] keep l>> bitor ;
 
-: (>>hl) ( value cpu -- )
+: hl<< ( value cpu -- )
   #! Set the value of the 16-bit pseudo register HL
   [ >word< ] dip swap >>l swap >>h drop ;
 
@@ -150,14 +150,14 @@ CONSTANT: sign-flag         HEX: 80
   [ pc>> ] keep
   [ read-byte ] keep 
   [ pc>> 1 + ] keep
-  (>>pc) ;
+  pc<< ;
 
 : next-word ( cpu -- word )
   #! Return the value of the word at PC, and increment PC.
   [ pc>> ] keep
   [ read-word ] keep 
   [ pc>> 2 + ] keep
-  (>>pc) ;
+  pc<< ;
 
 
 : write-byte ( value addr cpu -- )
@@ -176,43 +176,43 @@ CONSTANT: sign-flag         HEX: 80
 
 : cpu-a-bitand ( quot cpu -- )
   #! A &= quot call 
-  [ a>> swap call bitand ] keep (>>a) ; inline
+  [ a>> swap call bitand ] keep a<< ; inline
 
 : cpu-a-bitor ( quot cpu -- )
   #! A |= quot call 
-  [ a>> swap call bitor ] keep (>>a) ; inline
+  [ a>> swap call bitor ] keep a<< ; inline
 
 : cpu-a-bitxor ( quot cpu -- )
   #! A ^= quot call 
-  [ a>> swap call bitxor ] keep (>>a) ; inline
+  [ a>> swap call bitxor ] keep a<< ; inline
 
 : cpu-a-bitxor= ( value cpu -- )
   #! cpu-a ^= value
-  [ a>> bitxor ] keep (>>a) ;
+  [ a>> bitxor ] keep a<< ;
 
 : cpu-f-bitand ( quot cpu -- )
   #! F &= quot call 
-  [ f>> swap call bitand ] keep (>>f) ; inline
+  [ f>> swap call bitand ] keep f<< ; inline
 
 : cpu-f-bitor ( quot cpu -- )
   #! F |= quot call 
-  [ f>> swap call bitor ] keep (>>f) ; inline
+  [ f>> swap call bitor ] keep f<< ; inline
 
 : cpu-f-bitxor ( quot cpu -- )
   #! F |= quot call 
-  [ f>> swap call bitxor ] keep (>>f) ; inline
+  [ f>> swap call bitxor ] keep f<< ; inline
 
 : cpu-f-bitor= ( value cpu -- )
   #! cpu-f |= value
-  [ f>> bitor ] keep (>>f) ;
+  [ f>> bitor ] keep f<< ;
 
 : cpu-f-bitand= ( value cpu -- )
   #! cpu-f &= value
-  [ f>> bitand ] keep (>>f) ;
+  [ f>> bitand ] keep f<< ;
 
 : cpu-f-bitxor= ( value cpu -- )
   #! cpu-f ^= value
-  [ f>> bitxor ] keep (>>f) ;
+  [ f>> bitxor ] keep f<< ;
 
 : set-flag ( cpu flag -- )
   swap cpu-f-bitor= ;
@@ -361,7 +361,7 @@ CONSTANT: sign-flag         HEX: 80
 : decrement-sp ( n cpu -- )
   #! Decrement the stackpointer by n.  
   [ sp>> ] keep 
-  [ swap - ] dip (>>sp) ;
+  [ swap - ] dip sp<< ;
 
 : save-pc ( cpu -- )
   #! Save the value of the PC on the stack.
@@ -393,24 +393,24 @@ CONSTANT: sign-flag         HEX: 80
 : call-sub ( addr cpu -- )
   #! Call the address as a subroutine.
   dup push-pc 
-  [ HEX: FFFF bitand ] dip (>>pc) ;
+  [ HEX: FFFF bitand ] dip pc<< ;
 
 : ret-from-sub ( cpu -- )
-  [ pop-pc ] keep (>>pc) ;
+  [ pop-pc ] keep pc<< ;
  
 : interrupt ( number cpu -- )
   #! Perform a hardware interrupt
 !  "***Interrupt: " write over 16 >base print 
   dup f>> interrupt-flag bitand 0 = not [
     dup push-pc
-    (>>pc)
+    pc<<
   ] [
     2drop
   ] if ;
 
 : inc-cycles ( n cpu -- )
   #! Increment the number of cpu cycles
-  [ cycles>> + ] keep (>>cycles) ;
+  [ cycles>> + ] keep cycles<< ;
   
 : instruction-cycles ( -- vector )
   #! Return a 256 element vector containing the cycles for
@@ -496,7 +496,7 @@ SYMBOL: rom-root
   #! Read the next instruction from the cpu's program 
   #! counter, and increment the program counter.
   [ pc>> ] keep ! pc cpu
-  [ over 1 + swap (>>pc) ] keep
+  [ over 1 + swap pc<< ] keep
   read-byte ;
 
 : get-cycles ( n -- opcode )
@@ -514,11 +514,11 @@ SYMBOL: rom-root
   over 16667 < [
     2drop
   ] [ 
-    [ [ 16667 - ] dip (>>cycles) ] keep
+    [ [ 16667 - ] dip cycles<< ] keep
     dup last-interrupt>> HEX: 10 = [
-      HEX: 08 over (>>last-interrupt) HEX: 08 swap interrupt
+      HEX: 08 over last-interrupt<< HEX: 08 swap interrupt
     ] [
-      HEX: 10 over (>>last-interrupt) HEX: 10 swap interrupt
+      HEX: 10 over last-interrupt<< HEX: 10 swap interrupt
     ] if     
   ] if ;
 
@@ -561,18 +561,18 @@ SYMBOL: rom-root
   #! where the 1st item is the getter and the 2nd is the setter
   #! for that register.
   H{
-    { "A"  { a>>  (>>a)  } }
-    { "B"  { b>>  (>>b)  } }
-    { "C"  { c>>  (>>c)  } }
-    { "D"  { d>>  (>>d)  } }
-    { "E"  { e>>  (>>e)  } }
-    { "H"  { h>>  (>>h)  } }
-    { "L"  { l>>  (>>l)  } }
-    { "AF" { af>> (>>af) } }
-    { "BC" { bc>> (>>bc) } }
-    { "DE" { de>> (>>de) } }
-    { "HL" { hl>> (>>hl) } }
-    { "SP" { sp>> (>>sp) } }
+    { "A"  { a>>  a<<  } }
+    { "B"  { b>>  b<<  } }
+    { "C"  { c>>  c<<  } }
+    { "D"  { d>>  d<<  } }
+    { "E"  { e>>  e<<  } }
+    { "H"  { h>>  h<<  } }
+    { "L"  { l>>  l<<  } }
+    { "AF" { af>> af<< } }
+    { "BC" { bc>> bc<< } }
+    { "DE" { de>> de<< } }
+    { "HL" { hl>> hl<< } }
+    { "SP" { sp>> sp<< } }
   } at ;
 
 
@@ -580,14 +580,14 @@ SYMBOL: rom-root
   #! Given a string containing a flag name, return a vector
   #! where the 1st item is a word that tests that flag.
   H{
-    { "NZ"  { flag-nz?  } }
-    { "NC"  { flag-nc?  } }
-    { "PO"  { flag-po?  } }
-    { "PE"  { flag-pe?  } }
+    { "NZ" { flag-nz?  } }
+    { "NC" { flag-nc?  } }
+    { "PO" { flag-po?  } }
+    { "PE" { flag-pe?  } }
     { "Z"  { flag-z?  } }
     { "C"  { flag-c? } }
     { "P"  { flag-p?  } }
-    { "M" { flag-m?  } }
+    { "M"  { flag-m?  } }
   } at ;
 
 SYMBOLS: $1 $2 $3 $4 ;
@@ -606,19 +606,19 @@ SYMBOLS: $1 $2 $3 $4 ;
 : (emulate-RST) ( n cpu -- )
   #! RST nn
   [ sp>> 2 - dup ] keep ! sp sp cpu
-  [ (>>sp) ] keep ! sp cpu
+  [ sp<< ] keep ! sp cpu
   [ pc>> ] keep ! sp pc cpu
   swapd [ write-word ] keep ! cpu
-  [ 8 * ] dip (>>pc) ;
+  [ 8 * ] dip pc<< ;
 
 : (emulate-CALL) ( cpu -- )
   #! 205 - CALL nn
   [ next-word HEX: FFFF bitand ] keep ! addr cpu
   [ sp>> 2 - dup ] keep ! addr sp sp cpu
-  [ (>>sp) ] keep ! addr sp cpu
+  [ sp<< ] keep ! addr sp cpu
   [ pc>> ] keep ! addr sp pc cpu
   swapd [ write-word ] keep ! addr cpu
-  (>>pc) ;
+  pc<< ;
 
 : (emulate-RLCA) ( cpu -- )
   #! The content of the accumulator is rotated left
@@ -628,7 +628,7 @@ SYMBOLS: $1 $2 $3 $4 ;
   [ a>> -7 shift ] keep 
   over 0 = [ dup carry-flag clear-flag ] [ dup carry-flag set-flag ] if
   [ a>> 1 shift HEX: FF bitand ] keep 
-  [ bitor ] dip (>>a) ;
+  [ bitor ] dip a<< ;
 
 : (emulate-RRCA) ( cpu -- )
   #! The content of the accumulator is rotated right
@@ -638,7 +638,7 @@ SYMBOLS: $1 $2 $3 $4 ;
   [ a>> 1 bitand 7 shift ] keep 
   over 0 = [ dup carry-flag clear-flag ] [ dup carry-flag set-flag ] if
   [ a>> 254 bitand -1 shift ] keep 
-  [ bitor ] dip (>>a) ;
+  [ bitor ] dip a<< ;
 
 : (emulate-RLA) ( cpu -- )  
   #! The content of the accumulator is rotated left
@@ -650,7 +650,7 @@ SYMBOLS: $1 $2 $3 $4 ;
   [ carry-flag swap flag-set? [ 1 ] [ 0 ] if ] keep 
   [ a>> 127 bitand 7 shift ] keep 
   dup a>> 128 bitand 0 = [ dup carry-flag clear-flag ] [ dup carry-flag set-flag ] if
-  [ bitor ] dip (>>a) ;
+  [ bitor ] dip a<< ;
 
 : (emulate-RRA) ( cpu -- )  
   #! The content of the accumulator is rotated right
@@ -661,7 +661,7 @@ SYMBOLS: $1 $2 $3 $4 ;
   [ carry-flag swap flag-set? [ BIN: 10000000 ] [ 0 ] if ] keep 
   [ a>> 254 bitand -1 shift ] keep 
   dup a>> 1 bitand 0 = [ dup carry-flag clear-flag ] [ dup carry-flag set-flag ] if
-  [ bitor ] dip (>>a) ;
+  [ bitor ] dip a<< ;
 
 : (emulate-CPL) ( cpu -- )  
   #! The contents of the accumulator are complemented
@@ -679,93 +679,93 @@ SYMBOLS: $1 $2 $3 $4 ;
   ] keep 
   [ a>> + ] keep
   [ update-flags ] 2keep  
-  [ swap HEX: FF bitand swap (>>a) ] keep 
+  [ swap HEX: FF bitand swap a<< ] keep 
   [
     dup carry-flag swap flag-set? swap 
     a>> -4 shift BIN: 1111 bitand 9 > or [ 96 ] [ 0 ] if 
   ] keep 
   [ a>> + ] keep
   [ update-flags ] 2keep  
-  swap HEX: FF bitand swap (>>a) ;
+  swap HEX: FF bitand swap a<< ;
   
 : patterns ( -- hashtable )
   #! table of code quotation patterns for each type of instruction.
   H{
-    { "NOP"          [ drop ]               }
-    { "RET-NN"          [ ret-from-sub  ]               }
-    { "RST-0"      [ 0 swap (emulate-RST) ] }
-    { "RST-8"      [ 8 swap (emulate-RST) ] }
-    { "RST-10H"      [ HEX: 10 swap (emulate-RST) ] }
-    { "RST-18H"      [ HEX: 18 swap (emulate-RST) ] }
-    { "RST-20H"      [ HEX: 20 swap (emulate-RST) ] }
-    { "RST-28H"      [ HEX: 28 swap (emulate-RST) ] }
-    { "RST-30H"      [ HEX: 30 swap (emulate-RST) ] }
-    { "RST-38H"      [ HEX: 38 swap (emulate-RST) ] }
-    { "RET-F|FF"      [ dup $1 [ 6 over inc-cycles ret-from-sub ] [ drop ] if ] }
-    { "CP-N"      [ [ a>> ] keep [ next-byte ] keep sub-byte drop ] }
-    { "CP-R"      [ [ a>> ] keep [ $1 ] keep sub-byte drop  ] }
-    { "CP-(RR)"      [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep sub-byte drop ] }
-    { "OR-N"      [ [ a>> ] keep [ next-byte ] keep [ or-byte ] keep (>>a) ] }
-    { "OR-R"      [ [ a>> ] keep [ $1 ] keep [ or-byte ] keep (>>a) ] }
-    { "OR-(RR)"      [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep [ or-byte ] keep (>>a)  ] }
-    { "XOR-N"      [ [ a>> ] keep [ next-byte ] keep [ xor-byte ] keep (>>a) ] }
-    { "XOR-R"      [ [ a>> ] keep [ $1 ] keep [ xor-byte ] keep (>>a) ] }
-    { "XOR-(RR)"   [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep [ xor-byte ] keep (>>a)  ] }
-    { "AND-N"      [ [ a>> ] keep [ next-byte ] keep [ and-byte ] keep (>>a)  ] }
-    { "AND-R"      [ [ a>> ] keep [ $1 ] keep [ and-byte ] keep (>>a) ] }
-    { "AND-(RR)"      [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep [ and-byte ] keep (>>a)  ] }
-    { "ADC-R,N"      [ [ $1 ] keep [ next-byte ] keep [ add-byte-with-carry ] keep $2 ] }
-    { "ADC-R,R"      [ [ $1 ] keep [ $3 ] keep [ add-byte-with-carry ] keep $2 ] }
-    { "ADC-R,(RR)"      [ [ $1 ] keep [ $3 ] keep [ read-byte ] keep [ add-byte-with-carry ] keep $2 ] }
-    { "ADD-R,N"      [ [ $1 ] keep [ next-byte ] keep [ add-byte ] keep $2 ] }
-    { "ADD-R,R"      [ [ $1 ] keep [ $3 ] keep [ add-byte ] keep $2 ] }
-    { "ADD-RR,RR"    [ [ $1 ] keep [ $3 ] keep [ add-word ] keep $2 ] }
-    { "ADD-R,(RR)"    [ [ $1 ] keep [ $3 ] keep [ read-byte ] keep [ add-byte ] keep $2   ]  }
-    { "SBC-R,N"      [ [ $1 ] keep [ next-byte ] keep [ sub-byte-with-carry ] keep $2 ] }
-    { "SBC-R,R"      [ [ $1 ] keep [ $3 ] keep [ sub-byte-with-carry ] keep $2 ] }
-    { "SBC-R,(RR)"      [ [ $1 ] keep [ $3 ] keep [ read-byte ] keep [ sub-byte-with-carry ] keep $2 ] }
-    { "SUB-R"      [ [ a>> ] keep [ $1 ] keep [ sub-byte ] keep (>>a) ] }
-    { "SUB-(RR)"      [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep [ sub-byte ] keep (>>a) ] }
-    { "SUB-N"      [ [ a>> ] keep [ next-byte ] keep [ sub-byte ] keep (>>a) ] }
-    { "CPL"          [ (emulate-CPL) ]               }
-    { "DAA"          [ (emulate-DAA) ]               }
-    { "RLA"          [ (emulate-RLA) ]               }
-    { "RRA"          [ (emulate-RRA) ]               }
-    { "CCF"          [ carry-flag swap cpu-f-bitxor= ]               }
-    { "SCF"          [ carry-flag swap cpu-f-bitor= ]               }
-    { "RLCA"          [ (emulate-RLCA) ]               }
-    { "RRCA"          [ (emulate-RRCA) ]               }
-    { "HALT"          [ drop  ]               }
-    { "DI"          [ [ 255 interrupt-flag - ] swap cpu-f-bitand  ]               }
-    { "EI"          [ [ interrupt-flag ] swap cpu-f-bitor  ]  }  
-    { "POP-RR"     [ [ pop-sp ] keep $2 ] }
-    { "PUSH-RR"     [ [ $1 ] keep push-sp ] }
-    { "INC-R"     [ [ $1 ] keep [ inc-byte ] keep $2 ] }
-    { "DEC-R"     [ [ $1 ] keep [ dec-byte ] keep $2 ] }
-    { "INC-RR"     [ [ $1 ] keep [ inc-word ] keep $2 ] }
-    { "DEC-RR"     [ [ $1 ] keep [ dec-word ] keep $2 ] }
-    { "DEC-(RR)"     [ [ $1 ] keep [ read-byte ] keep [ dec-byte ] keep [ $1 ] keep write-byte ] }
-    { "INC-(RR)" [ [ $1 ] keep [ read-byte ] keep [ inc-byte ] keep  [ $1 ] keep write-byte ] }
-    { "JP-NN"           [ [ pc>> ] keep [ read-word ] keep (>>pc) ]               }
-    { "JP-F|FF,NN"      [ [ $1 ] keep swap [ [ next-word ] keep [ (>>pc) ] keep [ cycles>> ] keep swap 5 + swap (>>cycles) ] [ [ pc>> 2 + ] keep (>>pc) ] if ] }
-    { "JP-(RR)"      [ [ $1 ] keep (>>pc) ] }
-    { "CALL-NN"         [ (emulate-CALL) ] }
-    { "CALL-F|FF,NN"    [ [ $1 ] keep swap [ 7 over inc-cycles (emulate-CALL) ] [ [ pc>> 2 + ] keep (>>pc) ] if ]   }
-    { "LD-RR,NN"     [ [ next-word ] keep $2 ] }
-    { "LD-RR,RR"     [ [ $3 ] keep $2 ] }
-    { "LD-R,N"     [ [ next-byte ] keep $2 ] }
-    { "LD-(RR),N"    [ [ next-byte ] keep [ $1 ] keep write-byte ] }
-    { "LD-(RR),R"    [ [ $3 ] keep [ $1 ] keep write-byte ] }
-    { "LD-R,R"    [ [ $3 ] keep $2 ] }
-    { "LD-R,(RR)"    [ [ $3 ] keep [ read-byte ] keep $2  ] }
-    { "LD-(NN),RR"    [ [ $1 ] keep [ next-word ] keep write-word ] }
-    { "LD-(NN),R"    [  [ $1 ] keep [ next-word ] keep write-byte ] }
-    { "LD-RR,(NN)"    [ [ next-word ] keep [ read-word ] keep $2 ]  }
-    { "LD-R,(NN)"    [ [ next-word ] keep [ read-byte ] keep $2 ] }
-    { "OUT-(N),R"    [ [ $1 ] keep [ next-byte ] keep write-port ] }
-    { "IN-R,(N)"    [ [ next-byte ] keep [ read-port ] keep (>>a) ] }
-    { "EX-(RR),RR"  [  [ $1 ] keep [ read-word ] keep [ $3 ] keep [ $1 ] keep [ write-word ] keep $4 ] }
-    { "EX-RR,RR"    [ [ $1 ] keep [ $3 ] keep [ $2 ] keep $4 ] }
+    { "NOP" [ drop ] }
+    { "RET-NN" [ ret-from-sub ] }
+    { "RST-0" [ 0 swap (emulate-RST) ] }
+    { "RST-8" [ 8 swap (emulate-RST) ] }
+    { "RST-10H" [ HEX: 10 swap (emulate-RST) ] }
+    { "RST-18H" [ HEX: 18 swap (emulate-RST) ] }
+    { "RST-20H" [ HEX: 20 swap (emulate-RST) ] }
+    { "RST-28H" [ HEX: 28 swap (emulate-RST) ] }
+    { "RST-30H" [ HEX: 30 swap (emulate-RST) ] }
+    { "RST-38H" [ HEX: 38 swap (emulate-RST) ] }
+    { "RET-F|FF" [ dup $1 [ 6 over inc-cycles ret-from-sub ] [ drop ] if ] }
+    { "CP-N" [ [ a>> ] keep [ next-byte ] keep sub-byte drop ] }
+    { "CP-R" [ [ a>> ] keep [ $1 ] keep sub-byte drop ] }
+    { "CP-(RR)" [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep sub-byte drop ] }
+    { "OR-N" [ [ a>> ] keep [ next-byte ] keep [ or-byte ] keep a<< ] }
+    { "OR-R" [ [ a>> ] keep [ $1 ] keep [ or-byte ] keep a<< ] }
+    { "OR-(RR)" [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep [ or-byte ] keep a<< ] }
+    { "XOR-N" [ [ a>> ] keep [ next-byte ] keep [ xor-byte ] keep a<< ] }
+    { "XOR-R" [ [ a>> ] keep [ $1 ] keep [ xor-byte ] keep a<< ] }
+    { "XOR-(RR)" [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep [ xor-byte ] keep a<< ] }
+    { "AND-N" [ [ a>> ] keep [ next-byte ] keep [ and-byte ] keep a<< ] }
+    { "AND-R" [ [ a>> ] keep [ $1 ] keep [ and-byte ] keep a<< ] }
+    { "AND-(RR)" [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep [ and-byte ] keep a<< ] }
+    { "ADC-R,N" [ [ $1 ] keep [ next-byte ] keep [ add-byte-with-carry ] keep $2 ] }
+    { "ADC-R,R" [ [ $1 ] keep [ $3 ] keep [ add-byte-with-carry ] keep $2 ] }
+    { "ADC-R,(RR)" [ [ $1 ] keep [ $3 ] keep [ read-byte ] keep [ add-byte-with-carry ] keep $2 ] }
+    { "ADD-R,N" [ [ $1 ] keep [ next-byte ] keep [ add-byte ] keep $2 ] }
+    { "ADD-R,R" [ [ $1 ] keep [ $3 ] keep [ add-byte ] keep $2 ] }
+    { "ADD-RR,RR" [ [ $1 ] keep [ $3 ] keep [ add-word ] keep $2 ] }
+    { "ADD-R,(RR)" [ [ $1 ] keep [ $3 ] keep [ read-byte ] keep [ add-byte ] keep $2 ] }
+    { "SBC-R,N" [ [ $1 ] keep [ next-byte ] keep [ sub-byte-with-carry ] keep $2 ] }
+    { "SBC-R,R" [ [ $1 ] keep [ $3 ] keep [ sub-byte-with-carry ] keep $2 ] }
+    { "SBC-R,(RR)" [ [ $1 ] keep [ $3 ] keep [ read-byte ] keep [ sub-byte-with-carry ] keep $2 ] }
+    { "SUB-R" [ [ a>> ] keep [ $1 ] keep [ sub-byte ] keep a<< ] }
+    { "SUB-(RR)" [ [ a>> ] keep [ $1 ] keep [ read-byte ] keep [ sub-byte ] keep a<< ] }
+    { "SUB-N" [ [ a>> ] keep [ next-byte ] keep [ sub-byte ] keep a<< ] }
+    { "CPL" [ (emulate-CPL) ] }
+    { "DAA" [ (emulate-DAA) ] }
+    { "RLA" [ (emulate-RLA) ] }
+    { "RRA" [ (emulate-RRA) ] }
+    { "CCF" [ carry-flag swap cpu-f-bitxor= ] }
+    { "SCF" [ carry-flag swap cpu-f-bitor= ] }
+    { "RLCA" [ (emulate-RLCA) ] }
+    { "RRCA" [ (emulate-RRCA) ] }
+    { "HALT" [ drop ] }
+    { "DI" [ [ 255 interrupt-flag - ] swap cpu-f-bitand ] }
+    { "EI" [ [ interrupt-flag ] swap cpu-f-bitor ] } 
+    { "POP-RR" [ [ pop-sp ] keep $2 ] }
+    { "PUSH-RR" [ [ $1 ] keep push-sp ] }
+    { "INC-R" [ [ $1 ] keep [ inc-byte ] keep $2 ] }
+    { "DEC-R" [ [ $1 ] keep [ dec-byte ] keep $2 ] }
+    { "INC-RR" [ [ $1 ] keep [ inc-word ] keep $2 ] }
+    { "DEC-RR" [ [ $1 ] keep [ dec-word ] keep $2 ] }
+    { "DEC-(RR)" [ [ $1 ] keep [ read-byte ] keep [ dec-byte ] keep [ $1 ] keep write-byte ] }
+    { "INC-(RR)" [ [ $1 ] keep [ read-byte ] keep [ inc-byte ] keep [ $1 ] keep write-byte ] }
+    { "JP-NN" [ [ pc>> ] keep [ read-word ] keep pc<< ] }
+    { "JP-F|FF,NN" [ [ $1 ] keep swap [ [ next-word ] keep [ pc<< ] keep [ cycles>> ] keep swap 5 + swap cycles<< ] [ [ pc>> 2 + ] keep pc<< ] if ] }
+    { "JP-(RR)" [ [ $1 ] keep pc<< ] }
+    { "CALL-NN" [ (emulate-CALL) ] }
+    { "CALL-F|FF,NN" [ [ $1 ] keep swap [ 7 over inc-cycles (emulate-CALL) ] [ [ pc>> 2 + ] keep pc<< ] if ] }
+    { "LD-RR,NN" [ [ next-word ] keep $2 ] }
+    { "LD-RR,RR" [ [ $3 ] keep $2 ] }
+    { "LD-R,N" [ [ next-byte ] keep $2 ] }
+    { "LD-(RR),N" [ [ next-byte ] keep [ $1 ] keep write-byte ] }
+    { "LD-(RR),R" [ [ $3 ] keep [ $1 ] keep write-byte ] }
+    { "LD-R,R" [ [ $3 ] keep $2 ] }
+    { "LD-R,(RR)" [ [ $3 ] keep [ read-byte ] keep $2 ] }
+    { "LD-(NN),RR" [ [ $1 ] keep [ next-word ] keep write-word ] }
+    { "LD-(NN),R" [ [ $1 ] keep [ next-word ] keep write-byte ] }
+    { "LD-RR,(NN)" [ [ next-word ] keep [ read-word ] keep $2 ] }
+    { "LD-R,(NN)" [ [ next-word ] keep [ read-byte ] keep $2 ] }
+    { "OUT-(N),R" [ [ $1 ] keep [ next-byte ] keep write-port ] }
+    { "IN-R,(N)" [ [ next-byte ] keep [ read-port ] keep a<< ] }
+    { "EX-(RR),RR" [ [ $1 ] keep [ read-word ] keep [ $3 ] keep [ $1 ] keep [ write-word ] keep $4 ] }
+    { "EX-RR,RR" [ [ $1 ] keep [ $3 ] keep [ $2 ] keep $4 ] }
   } ;
 
 : 8-bit-registers ( -- parser )
index 6be74156be5b0a6d4e71afeedcd6093e22c7f5de..2fcb9434b70f46ce4259556f0464559c6bfd6986 100644 (file)
@@ -20,7 +20,7 @@ IN: cpu.8080.test
   over get-cycles over inc-cycles\r
   [ swap instructions nth call( cpu -- ) ] keep\r
   [ pc>> HEX: FFFF bitand ] keep \r
-  [ (>>pc) ] keep \r
+  [ pc<< ] keep \r
   process-interrupts ;\r
 \r
 : test-step ( cpu -- cpu )\r
diff --git a/extra/enter/authors.txt b/extra/enter/authors.txt
deleted file mode 100644 (file)
index ce0899f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Sam Anklesaria
\ No newline at end of file
diff --git a/extra/enter/enter.factor b/extra/enter/enter.factor
deleted file mode 100644 (file)
index 845182c..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-! Copyright (C) 2009 Sam Anklesaria.
-! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel parser vocabs.parser words ;
-IN: enter
-! main words are usually only used for entry, doing initialization, etc
-! it makes sense, then to define it all at once, rather than factoring it out into a seperate word
-! and then declaring it main
-SYNTAX: ENTER: gensym [ parse-definition (( -- )) define-declared ] keep current-vocab (>>main) ;
\ No newline at end of file
index 458ef3d51e2de1df1ae41dd20543cdec247cde24..56c14265542f18e1a3349a10a3babe5e956d19eb 100755 (executable)
@@ -131,11 +131,11 @@ ERROR: unsupported-resolution triple ;
         triple
         world handle>> hWnd>>
         fullscreen? [
-            enable-fullscreen world (>>saved-position)
+            enable-fullscreen world saved-position<<
         ] [
             [ world saved-position>> ] 2dip disable-fullscreen
         ] if
-        fullscreen? world (>>fullscreen?)
+        fullscreen? world fullscreen?<<
     ] when ;
 
 : set-fullscreen ( gadget triple fullscreen? -- )
index 312d7dbd1c965c562d307252bc8dad0307585401..fa4d4adcb32505cc9ac53eac726d2e3ac09899df 100644 (file)
@@ -95,7 +95,7 @@ PRIVATE>
     t >>running?
     [ reset-loop-benchmark ]
     [ [ run-loop ] curry "game loop" spawn ]
-    [ (>>thread) ] tri ;
+    [ thread<< ] tri ;
 
 : stop-loop ( loop -- )
     f >>running?
index 9ac59444db0a01a8ef435855349a11b24327a5d1..9b91b8fcf74af8eeaf51c27ba63f2a769409d103 100644 (file)
@@ -54,22 +54,22 @@ TUPLE: material
                 [ material new swap >>name current-material set ]
                 [ cm swap md set-at ] bi
             ] }
-            { "Ka"       [ 3 head strings>numbers cm (>>ambient-reflectivity)  ] }
-            { "Kd"       [ 3 head strings>numbers cm (>>diffuse-reflectivity)  ] }
-            { "Ks"       [ 3 head strings>numbers cm (>>specular-reflectivity) ] }
-            { "Tf"       [ 3 head strings>numbers cm (>>transmission-filter)   ] }
-            { "d"        [ first string>number cm    (>>dissolve)              ] }
-            { "Ns"       [ first string>number cm    (>>specular-exponent)     ] }
-            { "Ni"       [ first string>number cm    (>>refraction-index)      ] }
-            { "map_Ka"   [ first cm                  (>>ambient-map)           ] }
-            { "map_Kd"   [ first cm                  (>>diffuse-map)           ] }
-            { "map_Ks"   [ first cm                  (>>specular-map)          ] }
-            { "map_Ns"   [ first cm                  (>>specular-exponent-map) ] }
-            { "map_d"    [ first cm                  (>>dissolve-map)          ] }
-            { "map_bump" [ first cm                  (>>bump-map)              ] }
-            { "bump"     [ first cm                  (>>bump-map)              ] }
-            { "disp"     [ first cm                  (>>displacement-map)      ] }
-            { "refl"     [ first cm                  (>>reflection-map)        ] }
+            { "Ka"       [ 3 head strings>numbers cm ambient-reflectivity<<  ] }
+            { "Kd"       [ 3 head strings>numbers cm diffuse-reflectivity<<  ] }
+            { "Ks"       [ 3 head strings>numbers cm specular-reflectivity<< ] }
+            { "Tf"       [ 3 head strings>numbers cm transmission-filter<<   ] }
+            { "d"        [ first string>number cm    dissolve<<              ] }
+            { "Ns"       [ first string>number cm    specular-exponent<<     ] }
+            { "Ni"       [ first string>number cm    refraction-index<<      ] }
+            { "map_Ka"   [ first cm                  ambient-map<<           ] }
+            { "map_Kd"   [ first cm                  diffuse-map<<           ] }
+            { "map_Ks"   [ first cm                  specular-map<<          ] }
+            { "map_Ns"   [ first cm                  specular-exponent-map<< ] }
+            { "map_d"    [ first cm                  dissolve-map<<          ] }
+            { "map_bump" [ first cm                  bump-map<<              ] }
+            { "bump"     [ first cm                  bump-map<<              ] }
+            { "disp"     [ first cm                  displacement-map<<      ] }
+            { "refl"     [ first cm                  reflection-map<<        ] }
             [ 2drop ]
         } case
     ] unless-empty ;
index 438ab82356b51c1306f44846cee88df6c9642e67..cf43e69451df2474f2f39121a6d85b0d241d2a34 100644 (file)
@@ -37,8 +37,8 @@ M:: indexed-seq set-nth ( elt n seq -- )
 M: indexed-seq new-resizable
     [ dseq>> ] [ iseq>> ] [ rassoc>> ] tri <indexed-seq>
     dup -rot
-    [ [ dseq>> new-resizable ] keep (>>dseq) ]
-    [ [ iseq>> new-resizable ] keep (>>iseq) ]
-    [ [ rassoc>> clone nip ] keep (>>rassoc) ]
+    [ [ dseq>> new-resizable ] keep dseq<< ]
+    [ [ iseq>> new-resizable ] keep iseq<< ]
+    [ [ rassoc>> clone nip ] keep rassoc<< ]
     2tri ;
 
index fc613da4238164f6451c39c6488dfc7333459a0b..f2dec1972e66c48e3b8369a3a53b56b95dffd6d8 100644 (file)
@@ -47,14 +47,14 @@ M: unix open-serial ( serial -- serial' )
 : configure-termios ( serial -- )
     dup termios>>
     {
-        [ [ iflag>> ] dip over [ (>>iflag) ] [ 2drop ] if ]
-        [ [ oflag>> ] dip over [ (>>oflag) ] [ 2drop ] if ]
+        [ [ iflag>> ] dip over [ iflag<< ] [ 2drop ] if ]
+        [ [ oflag>> ] dip over [ oflag<< ] [ 2drop ] if ]
         [
             [
                 [ cflag>> 0 or ] [ baud>> lookup-baud ] bi bitor
-            ] dip (>>cflag)
+            ] dip cflag<<
         ]
-        [ [ lflag>> ] dip over [ (>>lflag) ] [ 2drop ] if ]
+        [ [ lflag>> ] dip over [ lflag<< ] [ 2drop ] if ]
     } 2cleave ;
 
 : tciflush ( serial -- )
index f2030e87b018bab93d3c9059668ee4638e8eaa84..68ca6451a571751951ef953327bd577dc1efce5b 100644 (file)
@@ -165,7 +165,7 @@ M: irc-chat (attach-chat)
     2bi ;
 
 M: irc-server-chat (attach-chat)
-    irc> [ (>>client) ] [ chats>> +server-chat+ set-at ] 2bi ;
+    irc> [ client<< ] [ chats>> +server-chat+ set-at ] 2bi ;
 
 GENERIC: remove-chat ( irc-chat -- )
 M: irc-nick-chat remove-chat name>> unregister-chat ;
index 8d367dbb95cd562bbc0bcfa8599535537f74e0b0..d2b2e1599968e36bd0a539a87dac973c13879962 100644 (file)
@@ -37,8 +37,8 @@ M: irc-channel-chat has-participant? participants>> key? ;
 
 : apply-mode ( ? participant mode -- )
     {
-        { CHAR: o [ (>>operator) ] }
-        { CHAR: v [ (>>voice) ] }
+        { CHAR: o [ operator<< ] }
+        { CHAR: v [ voice<< ] }
         [ 3drop ]
     } case ;
 
index b785970520738bbe69041e6604271aa49611a00b..f0f9ca02cefb931474707be81f8c6e2548afb2f5 100644 (file)
@@ -74,7 +74,7 @@ M: irc-message set-irc-trailing
 
 GENERIC: set-irc-command ( irc-message -- )
 M: irc-message set-irc-command
-    [ irc-command-string ] [ (>>command) ] bi ;
+    [ irc-command-string ] [ command<< ] bi ;
 
 : irc-message>string ( irc-message -- string )
     {
index 06a41b0aaab409bfa8fe106656e343dd8b94fea2..34606eb83afed3ed7ea3bb30453506f6aba41df7 100644 (file)
@@ -31,5 +31,5 @@ PRIVATE>
     [ >>parameters ]
     [ >>trailing ]
     tri*
-    [ (>>prefix) ] [ fill-irc-message-slots ] [ swap >>line ] tri
+    [ prefix<< ] [ fill-irc-message-slots ] [ swap >>line ] tri
     dup sender >>sender ;
index 63814dfbf8c6d2c550c4e971d670cec28a1615b5..8201137f2a0d4c71d1b46bfbeb0e38d428354ce5 100644 (file)
@@ -52,8 +52,8 @@ CONSTANT: pov-polygons
 
 :: move-axis ( gadget x y z -- )
     x y z (xyz>loc) :> ( xy z )
-    xy gadget   indicator>> (>>loc)
-    z  gadget z-indicator>> (>>loc) ;
+    xy gadget   indicator>> loc<<
+    z  gadget z-indicator>> loc<< ;
 
 : move-pov ( gadget pov -- )
     swap pov>> [ interior>> -rot = COLOR: gray COLOR: white ? >>color drop ]
@@ -91,7 +91,7 @@ TUPLE: joystick-demo-gadget < pack axis raxis controller buttons alarm ;
     gadget controller>> read-controller buttons>> length iota [
         number>string [ drop ] <border-button>
         shelf over add-gadget drop
-    ] map gadget (>>buttons) ;
+    ] map gadget buttons<< ;
 
 : add-button-gadgets ( gadget shelf -- gadget shelf )
     [ (add-button-gadgets) ] 2keep ;
index 585ca2d16fa4b573646649f15c98bd9142128397..b236442e9d26afb8a9e3321c612aa84171d8b8ec 100644 (file)
@@ -158,7 +158,7 @@ M: key-caps-gadget pref-dim* drop KEYBOARD-SIZE ;
 
 : update-key-caps-state ( gadget -- )
     read-keyboard keys>> over keys>> 
-    [ [ (>>selected?) ] [ drop ] if* ] 2each 
+    [ [ selected?<< ] [ drop ] if* ] 2each 
     relayout-1 ;
 
 M: key-caps-gadget graft*
index ecf36bcfbb74c974baf5cbc4e19b505844087023..91936c701fc2affd183ffc010e2a69a236f519e8 100644 (file)
@@ -27,7 +27,7 @@ CONSTANT: line-beginning "-!- "
     ] "" append-outputs-as send-everyone ;
 
 : handle-quit ( string -- )
-    client [ (>>object) ] [ t >>quit? drop ] bi ;
+    client [ object<< ] [ t >>quit? drop ] bi ;
 
 : handle-help ( string -- )
     [
@@ -60,7 +60,7 @@ CONSTANT: line-beginning "-!- "
         ] [
             [ username swap warn-name-changed ]
             [ username clients rename-at ]
-            [ client (>>username) ] tri
+            [ client username<< ] tri
         ] if
     ] if-empty ;
 
@@ -127,10 +127,10 @@ M: chat-server handle-client-disconnect
 
 M: chat-server handle-already-logged-in
     username username-taken-string send-line
-    t client (>>quit?) ;
+    t client quit?<< ;
 
 M: chat-server handle-managed-client*
-    readln dup f = [ t client (>>quit?) ] when
+    readln dup f = [ t client quit?<< ] when
     [
         "/" ?head [ handle-command ] [ handle-chat ] if
     ] unless-empty ;
index acb3c848252c6ea81503ea70e92b8b8b000e2a97..d62604476623418bd3834773827d7482d3c5cebd 100644 (file)
@@ -67,7 +67,7 @@ PRIVATE>
     username clients key? [
         handle-already-logged-in
     ] [
-        t client (>>logged-in?)
+        t client logged-in?<<
         client username clients set-at
     ] if ;
 
index 606eada523ac8485db8d2b2dc9afc8211d5f8c32..93bb0bd836e1d66020e1a03ee0f80dd27bbdd0a6 100644 (file)
@@ -193,7 +193,7 @@ M: model-world wasd-far-plane drop 1024.0 ;
 M: model-world begin-game-world
     init-gpu
     { 0.0 0.0 2.0 } 0 0 set-wasd-view
-    [ <model-state> [ fill-model-state ] keep ] [ (>>model-state) ] bi ;
+    [ <model-state> [ fill-model-state ] keep ] [ model-state<< ] bi ;
 M: model-world apply-world-attributes
     {
         [ model-path>> >>model-path ]
index 37cf3d115e876afb64db6cfebe7e5b54d128432c..bc20fcd04d2b464072c7a93e5d9cd6a2c0c5a54a 100644 (file)
@@ -13,7 +13,7 @@ M: conditional model-changed
             [ [ value>> ] dip set-model f ]
             [ 2drop t ] if 100 milliseconds sleep 
         ] 2curry "models.conditional" spawn-server
-    ] keep (>>thread) ;
+    ] keep thread<< ;
 
 : <conditional> ( condition -- model )
     f conditional new-model swap >>condition ;
index 85036c8d86ae4900214b50b4855ed2e676cbe1bf..eeb73141960e2bbad89c1bf22daeacee2c40fdc6 100644 (file)
@@ -44,7 +44,7 @@ PRIVATE>
 M: mdb-persistent id>> ( object -- id )
    dup class id-slot reader-word execute( object -- id ) ;
 
-M: mdb-persistent (>>id) ( object value -- )
+M: mdb-persistent id<< ( object value -- )
    over class id-slot writer-word execute( object value -- ) ;
 
 
index 2b19d95833a482ca9b90055791749c60907fc223..201b91e5e7b3f918a88a19731800a48d4ef53c9d 100644 (file)
@@ -23,7 +23,7 @@ M: pair at*
     ] if-key ; inline
 
 M: pair set-at
-    [ (>>value) ] [
+    [ value<< ] [
         [ set-at ]
         [ [ associate ] dip swap >>hash drop ] if-hash
     ] if-key ; inline
index 318801394025a1e7c8cb2e88d0edea785eaa0435..cd63a5c8d52c78cc48301811ac91f579263b717b 100644 (file)
@@ -57,8 +57,8 @@ TUPLE: (astar) astar goal origin in-open-set open-set ;
 
 : (init) ( from to astar -- )
     swap >>goal
-    H{ } clone over astar>> (>>g)
-    { } <hash-set> over astar>> (>>in-closed-set)
+    H{ } clone over astar>> g<<
+    { } <hash-set> over astar>> in-closed-set<<
     H{ } clone >>origin
     H{ } clone >>in-open-set
     <min-heap> >>open-set
@@ -77,7 +77,7 @@ M: bfs neighbours neighbours>> at ;
 PRIVATE>
 
 : find-path ( start target astar -- path/f )
-    (astar) new [ (>>astar) ] keep [ (init) ] [ (find-path) ] bi ;
+    (astar) new [ astar<< ] keep [ (init) ] [ (find-path) ] bi ;
 
 : <astar> ( neighbours cost heuristic -- astar )
     astar-simple new swap >>heuristic swap >>cost swap >>neighbours ;
index 030d265f37ac37d566f4c0f808b174d5f400e8b3..c99eb8678e11914ff6a83d24d885cdbad6014fa8 100644 (file)
@@ -45,7 +45,7 @@ TUPLE: raw-source top headers content ;
 : get-ok-and-total ( -- total )
     stream [
         readln dup "+OK" head? [
-            " " split second string>number dup account (>>count)
+            " " split second string>number dup account count<<
         ] [ throw ] if
     ] with-stream* ;
 
@@ -78,13 +78,13 @@ TUPLE: raw-source top headers content ;
 : (list) ( -- )
     stream [
         "LIST" command
-        readlns account (>>list)
+        readlns account list<<
     ] with-stream* ;
 
 : (uidls) ( -- )
     stream [
         "UIDL" command
-        readlns account (>>uidls)
+        readlns account uidls<<
     ] with-stream* ;
 
 PRIVATE>
@@ -115,7 +115,7 @@ PRIVATE>
 : capa ( -- array )
     stream [
         "CAPA" command
-        readlns dup account (>>capa)
+        readlns dup account capa<<
     ] with-stream* ;
 
 : count ( -- n )
@@ -140,7 +140,7 @@ PRIVATE>
         "TOP " _ number>string append " "
         append _ number>string append
         command
-        readlns dup raw (>>top)
+        readlns dup raw top<<
     ] with-stream* ;
 
 : headers ( -- assoc )
@@ -168,7 +168,7 @@ PRIVATE>
 : retrieve ( message# -- seq )
     [ stream ] dip '[
         "RETR " _ number>string append command
-        readlns dup raw (>>content)
+        readlns dup raw content<<
     ] with-stream* ;
 
 : delete ( message# -- )
index 895eba4deb66ccc067158d2022cf6e89c9ae2b6e..7474850f8f1e34bc65fc7ec55122d7b13c2256e3 100644 (file)
@@ -157,6 +157,6 @@ PRIVATE>
 SYNTAX: SOLUTION:
     scan-word
     [ name>> "-main" append create-in ] keep
-    [ drop current-vocab (>>main) ]
+    [ drop current-vocab main<< ]
     [ [ . ] swap prefix (( -- )) define-declared ]
     2bi ;
index 7c2bdd0d28007546253a9b696c72f5651ae1da9e..ab0e9bda23bcda7b42c39188a0b3333f5ee2907a 100644 (file)
@@ -80,7 +80,7 @@ DEFER: in-rect*
 
 : leaf-insert ( value point leaf -- )
     2dup leaf-replaceable?
-    [ [ (>>point) ] [ (>>value) ] bi ]
+    [ [ point<< ] [ value<< ] bi ]
     [ split-leaf ] if ;
 
 : node-insert ( value point node -- )
index 3fda392d805ab4ee2ab5a23eec0f24d2984d4edd..44bb016267299335e3cce635d4ee2d0e92bf9f89 100644 (file)
@@ -42,7 +42,7 @@ M:: cmwc random-32* ( cmwc -- n )
     [ [ i>> ] [ Q>> ] bi nth-unsafe * ]
     [ c>> + ] tri
 
-    [ >fixnum -32 shift cmwc (>>c) ]
+    [ >fixnum -32 shift cmwc c<< ]
     [ cmwc [ b>> bitand ] [ c>> + ] bi 32 bits ] bi
 
     dup cmwc r>> > [
index 7157e3f025a059f1cc51f3de1061ac838bf43d12..4689633b61f013955a568e9ebd3c5317e4ccdfe0 100644 (file)
@@ -12,7 +12,7 @@ TUPLE: repeating circular len ;
     dupd <repeating> swap like ;
 
 M: repeating length len>> ;
-M: repeating set-length (>>len) ;
+M: repeating set-length len<< ;
 
 M: repeating virtual@ ( n seq -- n' seq' ) circular>> ;
 
index 8f171f3eedc115a01dbaf6949b04870f79029b47..e6b648c3e4d3e7d234e03806a00e21ce74617a89 100644 (file)
@@ -19,6 +19,6 @@ lexenv set
 [ [ \ tuple ] ] [ "Object" lexenv get lookup-reader ] unit-test
 
 [ [ fake-local ] ] [ "jumble" lexenv get lookup-writer ] unit-test
-[ [ fake-self (>>y) ] ] [ "y" lexenv get lookup-writer ] unit-test
+[ [ fake-self y<< ] ] [ "y" lexenv get lookup-writer ] unit-test
 
 [ "blahblah" lexenv get lookup-writer ] must-fail
\ No newline at end of file
index 01bf6217697a6de602b9aa11a5aa5cc43f5fa773..14277a1f2845dfb458a7cb6f011c95b8567762b9 100755 (executable)
@@ -72,7 +72,7 @@ CONSTANT: SOUND-UFO-HIT      8
 
 : init-sounds ( cpu -- )
   init-openal
-  [ 9 gen-sources swap (>>sounds) ] keep
+  [ 9 gen-sources swap sounds<< ] keep
   [ SOUND-SHOT        "vocab:space-invaders/resources/Shot.wav" init-sound ] keep 
   [ SOUND-UFO         "vocab:space-invaders/resources/Ufo.wav" init-sound ] keep 
   [ sounds>> SOUND-UFO swap nth AL_LOOPING AL_TRUE set-source-param ] keep
@@ -83,10 +83,10 @@ CONSTANT: SOUND-UFO-HIT      8
   [ SOUND-WALK3       "vocab:space-invaders/resources/Walk3.wav" init-sound ] keep 
   [ SOUND-WALK4       "vocab:space-invaders/resources/Walk4.wav" init-sound ] keep 
   [ SOUND-UFO-HIT    "vocab:space-invaders/resources/UfoHit.wav" init-sound ] keep
-  f swap (>>looping?) ;
+  f swap looping?<< ;
 
 : cpu-init ( cpu -- cpu )
-  make-opengl-bitmap over (>>bitmap)
+  make-opengl-bitmap over bitmap<<
   [ init-sounds ] keep
   [ reset ] keep ;
 
@@ -108,7 +108,7 @@ CONSTANT: SOUND-UFO-HIT      8
   #! Bit 5 = player one left
   #! Bit 6 = player one right
   [ port1>> dup HEX: FE bitand ] keep 
(>>port1) ;
port1<< ;
 
 : read-port2 ( cpu -- byte )
   #! Port 2 maps player 2 controls and dip switches
@@ -139,7 +139,7 @@ M: space-invaders read-port ( port cpu -- byte )
 
 : write-port2 ( value cpu -- )
   #! Setting this value affects the value read from port 3
-  (>>port2o) ;
+  port2o<< ;
 
 :: bit-newly-set? ( old-value new-value bit -- bool )
   new-value bit bit? [ old-value bit bit? not ] dip and ;
@@ -159,23 +159,23 @@ M: space-invaders read-port ( port cpu -- byte )
   #! Bit 4 = Extended play sound
   over 0 bit? over looping?>> not and [ 
     dup SOUND-UFO play-invaders-sound 
-    t over (>>looping?)
+    t over looping?<<
   ] when 
   over 0 bit? not over looping?>> and [ 
     dup SOUND-UFO stop-invaders-sound 
-    f over (>>looping?)
+    f over looping?<<
   ] when 
   2dup 0 port3-newly-set? [ dup SOUND-UFO  play-invaders-sound ] when
   2dup 1 port3-newly-set? [ dup SOUND-SHOT play-invaders-sound ] when
   2dup 2 port3-newly-set? [ dup SOUND-BASE-HIT play-invaders-sound ] when
   2dup 3 port3-newly-set? [ dup SOUND-INVADER-HIT play-invaders-sound ] when
-  (>>port3o) ;
+  port3o<< ;
 
 : write-port4 ( value cpu -- )
   #! Affects the value returned by reading port 3
   [ port4hi>> ] keep 
-  [ (>>port4lo) ] keep 
-  (>>port4hi) ;
+  [ port4lo<< ] keep 
+  port4hi<< ;
 
 : write-port5 ( value cpu -- )
   #! Plays sounds
@@ -190,7 +190,7 @@ M: space-invaders read-port ( port cpu -- byte )
   2dup 2 port5-newly-set? [ dup SOUND-WALK3 play-invaders-sound ] when
   2dup 3 port5-newly-set? [ dup SOUND-WALK4 play-invaders-sound ] when
   2dup 4 port5-newly-set? [ dup SOUND-UFO-HIT play-invaders-sound ] when
-  (>>port5o) ;
+  port5o<< ;
 
 M: space-invaders write-port ( value port cpu -- )
   #! Write a byte to the hardware port, where 'port' is
@@ -219,7 +219,7 @@ M: space-invaders reset ( cpu -- )
   over get-cycles over inc-cycles
   [ swap instructions nth call( cpu -- ) ] keep  
   [ pc>> HEX: FFFF bitand ] keep 
-  (>>pc) ;
+  pc<< ;
 
 : gui-frame/2 ( cpu -- )
   [ gui-step ] keep
@@ -227,11 +227,11 @@ M: space-invaders reset ( cpu -- )
   over 16667 < [ ! cycles cpu
     nip gui-frame/2
   ] [
-    [ [ 16667 - ] dip (>>cycles) ] keep
+    [ [ 16667 - ] dip cycles<< ] keep
     dup last-interrupt>> HEX: 10 = [
-      HEX: 08 over (>>last-interrupt) HEX: 08 swap interrupt
+      HEX: 08 over last-interrupt<< HEX: 08 swap interrupt
     ] [
-      HEX: 10 over (>>last-interrupt) HEX: 10 swap interrupt
+      HEX: 10 over last-interrupt<< HEX: 10 swap interrupt
     ] if     
   ] if ;
 
@@ -239,46 +239,46 @@ M: space-invaders reset ( cpu -- )
   dup gui-frame/2 gui-frame/2 ;
 
 : coin-down ( cpu -- )
-  [ port1>> 1 bitor ] keep (>>port1) ;
+  [ port1>> 1 bitor ] keep port1<< ;
 
 : coin-up ( cpu --  )
-  [ port1>> 255 1 - bitand ] keep (>>port1) ;
+  [ port1>> 255 1 - bitand ] keep port1<< ;
 
 : player1-down ( cpu -- )
-  [ port1>> 4 bitor ] keep (>>port1) ;
+  [ port1>> 4 bitor ] keep port1<< ;
 
 : player1-up ( cpu -- )
-  [ port1>> 255 4 - bitand ] keep (>>port1) ;
+  [ port1>> 255 4 - bitand ] keep port1<< ;
 
 : player2-down ( cpu -- )
-  [ port1>> 2 bitor ] keep (>>port1) ;
+  [ port1>> 2 bitor ] keep port1<< ;
 
 : player2-up ( cpu -- )
-  [ port1>> 255 2 - bitand ] keep (>>port1) ;
+  [ port1>> 255 2 - bitand ] keep port1<< ;
 
 : fire-down ( cpu -- )
-  [ port1>> HEX: 10 bitor ] keep (>>port1) ;
+  [ port1>> HEX: 10 bitor ] keep port1<< ;
 
 : fire-up ( cpu -- )
-  [ port1>> 255 HEX: 10 - bitand ] keep (>>port1) ;
+  [ port1>> 255 HEX: 10 - bitand ] keep port1<< ;
 
 : left-down ( cpu -- )
-  [ port1>> HEX: 20 bitor ] keep (>>port1) ;
+  [ port1>> HEX: 20 bitor ] keep port1<< ;
 
 : left-up ( cpu -- )
-  [ port1>> 255 HEX: 20 - bitand ] keep (>>port1) ;
+  [ port1>> 255 HEX: 20 - bitand ] keep port1<< ;
 
 : right-down ( cpu -- )
-  [ port1>> HEX: 40 bitor ] keep (>>port1) ;
+  [ port1>> HEX: 40 bitor ] keep port1<< ;
 
 : right-up ( cpu -- )
-  [ port1>> 255 HEX: 40 - bitand ] keep (>>port1) ;
+  [ port1>> 255 HEX: 40 - bitand ] keep port1<< ;
 
 
 TUPLE: invaders-gadget < gadget cpu quit? windowed? ;
 
 invaders-gadget H{
-    { T{ key-down f f "ESC" }    [ t over (>>quit?) dup windowed?>> [ close-window ] [ drop ] if ] }
+    { T{ key-down f f "ESC" }    [ t over quit?<< dup windowed?>> [ close-window ] [ drop ] if ] }
     { T{ key-down f f "BACKSPACE" } [ cpu>> coin-down ] }
     { T{ key-up   f f "BACKSPACE" } [ cpu>> coin-up ] }
     { T{ key-down f f "1" }         [ cpu>> player1-down ] }
@@ -377,12 +377,12 @@ M: space-invaders update-video ( value addr cpu -- )
 
 M: invaders-gadget graft* ( gadget -- )
   dup cpu>> init-sounds
-  f over (>>quit?)
+  f over quit?<<
   [ system:system-micros swap invaders-process ] curry
   "Space invaders" threads:spawn drop ;
 
 M: invaders-gadget ungraft* ( gadget -- )
- t swap (>>quit?) ;
+ t swap quit?<< ;
 
 : (run) ( title cpu rom-info -- )
   over load-rom* <invaders-gadget> t >>windowed? swap open-window ;
index 90645e35623b75f0cc8b0dbe570a84b318a131c5..2b9fd8da0b8b0eb5833d1bfe4fa4fd08258582e9 100755 (executable)
@@ -16,7 +16,7 @@ MEMO: single-sine-wave ( samples/wave -- seq )
     [ sample-freq>> -rot sine-wave ] keep swap >>data ;
 
 : >silent-buffer ( seconds buffer -- buffer )
-    [ sample-freq>> * >integer 0 <repetition> ] [ (>>data) ] [ ] tri ;
+    [ sample-freq>> * >integer 0 <repetition> ] [ data<< ] [ ] tri ;
 
 TUPLE: harmonic n amplitude ;
 C: <harmonic> harmonic
@@ -32,5 +32,5 @@ C: <note> note
     harmonic amplitude>> <scaled> ;
 
 : >note ( harmonics note buffer -- buffer )
-    [ [ note-harmonic-data ] 2curry map <summed> ] [ (>>data) ] [ ] tri ;
+    [ [ note-harmonic-data ] 2curry map <summed> ] [ data<< ] [ ] tri ;
 
index e4838061f51644cef6a8f7233ce360dcd9312455..d8bc90bf737297991ecc8ce385801b1bd0794a36 100644 (file)
@@ -120,7 +120,7 @@ terrain-world H{
     read-keyboard keys>> :> keys
 
     key-left-shift keys nth
-    VELOCITY-MODIFIER-FAST VELOCITY-MODIFIER-NORMAL ? player (>>velocity-modifier)
+    VELOCITY-MODIFIER-FAST VELOCITY-MODIFIER-NORMAL ? player velocity-modifier<<
 
     {
         [ key-1 keys nth 1  f ? ]
@@ -128,7 +128,7 @@ terrain-world H{
         [ key-3 keys nth 3  f ? ]
         [ key-4 keys nth 4  f ? ]
         [ key-5 keys nth 10000 f ? ]
-    } 0|| player (>>reverse-time)
+    } 0|| player reverse-time<<
 
     key-w keys nth [ player walk-forward ] when 
     key-s keys nth [ player walk-backward ] when 
@@ -203,7 +203,7 @@ TYPED:: collide ( world: terrain-world player: player -- )
     world history>> :> history
     history length 0 > [
         history length reverse-time 1 - - 1 max history set-length
-        history pop world (>>player)
+        history pop world player<<
     ] when ;
 
 : tick-player-forward ( world player -- )
index 66df0cdb2d7161f82549b5891ec92c045f60abef..e5d4f408ff388730ac5a88d6a0c8c9885a4994f2 100644 (file)
@@ -52,7 +52,7 @@ tetris-gadget H{
     [ tetris>> ?update ] [ relayout-1 ] bi ;
 
 M: tetris-gadget graft* ( gadget -- )
-    [ [ tick ] curry 100 milliseconds every ] keep (>>alarm) ;
+    [ [ tick ] curry 100 milliseconds every ] keep alarm<< ;
 
 M: tetris-gadget ungraft* ( gadget -- )
     [ cancel-alarm f ] change-alarm drop ;
index ea6d20fc2d3013a5c14d8ea7682a5fced97c8887..fc7f0d5e599748cab4d95ce161ef26961ac31a35 100644 (file)
@@ -7,4 +7,4 @@ IN: tokyo.abstractdb
 
 : <tokyo-abstractdb> ( name -- tokyo-abstractdb )
     tcadbnew [ swap tcadbopen drop ] keep
-    tokyo-abstractdb new [ (>>handle) ] keep ;
+    tokyo-abstractdb new [ handle<< ] keep ;
index c8761e16f3cfff8e6d861ebbaf938e36e6f92ba3..4ae1f4dcedc11323262be7650ca632e4e3e3a294 100644 (file)
@@ -7,4 +7,4 @@ IN: tokyo.remotedb
 
 : <tokyo-remotedb> ( host port -- tokyo-remotedb )
     [ tcrdbnew dup ] 2dip tcrdbopen drop
-    tokyo-remotedb new [ (>>handle) ] keep ;
+    tokyo-remotedb new [ handle<< ] keep ;
index 401ac205d6d7109c6fdc460d09367fe9a729b0d0..9b4819d3aa19cbdbcd22feca4b159bab12fdde1b 100644 (file)
@@ -31,7 +31,7 @@ TUPLE: avl-node < node balance ;
 : single-rotate ( node -- node )
     0 >>balance
     0 over node+link 
-    (>>balance) rotate ;
+    balance<< rotate ;
 
 : pick-balances ( a node -- balance balance )
     balance>> {
@@ -44,8 +44,8 @@ TUPLE: avl-node < node balance ;
     [
         node+link [
             node-link current-side get neg
-            over pick-balances rot 0 swap (>>balance)
-        ] keep (>>balance)
+            over pick-balances rot 0 swap balance<<
+        ] keep balance<<
     ] keep swap >>balance
     dup node+link [ rotate ] with-other-side
     over set-node+link rotate ;
@@ -74,7 +74,7 @@ DEFER: avl-set
 
 : (avl-set) ( value key node -- node taller? )
     2dup key>> = [
-        -rot pick (>>key) over (>>value) f
+        -rot pick key<< over value<< f
     ] [ avl-insert ] if ;
 
 : avl-set ( value key node -- node taller? )
@@ -85,8 +85,8 @@ M: avl set-at ( value key node -- node )
 
 : delete-select-rotate ( node -- node shorter? )
     dup node+link balance>> zero? [
-        current-side get neg over (>>balance)
-        current-side get over node+link (>>balance) rotate f
+        current-side get neg over balance<<
+        current-side get over node+link balance<< rotate f
     ] [
         select-rotate t
     ] if ;
@@ -100,7 +100,7 @@ M: avl set-at ( value key node -- node )
 
 : balance-delete ( node -- node shorter? )
     current-side get over balance>> {
-        { [ dup zero? ] [ drop neg over (>>balance) f ] }
+        { [ dup zero? ] [ drop neg over balance<< f ] }
         { [ dupd = ] [ drop 0 >>balance t ] }
         [ dupd neg increase-balance rebalance-delete ]
     } cond ;
index 79c19416a020de0344addcb94062941d3791a069..3b39bfe6427dac1f415dbb4b4b3ace38cfa4ccfb 100644 (file)
@@ -14,20 +14,20 @@ TUPLE: splay < tree ;
 
 : rotate-right ( node -- node )
     dup left>>
-    [ right>> swap (>>left) ] 2keep
-    [ (>>right) ] keep ;
+    [ right>> swap left<< ] 2keep
+    [ right<< ] keep ;
                                                         
 : rotate-left ( node -- node )
     dup right>>
-    [ left>> swap (>>right) ] 2keep
-    [ (>>left) ] keep ;
+    [ left>> swap right<< ] 2keep
+    [ left<< ] keep ;
 
 : link-right ( left right key node -- left right key node )
-    swap [ [ swap (>>left) ] 2keep
+    swap [ [ swap left<< ] 2keep
     nip dup left>> ] dip swap ;
 
 : link-left ( left right key node -- left right key node )
-    swap [ rot [ (>>right) ] 2keep
+    swap [ rot [ right<< ] 2keep
     drop dup right>> swapd ] dip swap ;
 
 : cmp ( key node -- obj node <=> )
@@ -61,23 +61,23 @@ DEFER: (splay)
     } case ;
 
 : assemble ( head left right node -- root )
-    [ right>> swap (>>left) ] keep
-    [ left>> swap (>>right) ] keep
-    [ swap left>> swap (>>right) ] 2keep
-    [ swap right>> swap (>>left) ] keep ;
+    [ right>> swap left<< ] keep
+    [ left>> swap right<< ] keep
+    [ swap left>> swap right<< ] 2keep
+    [ swap right>> swap left<< ] keep ;
 
 : splay-at ( key node -- node )
     [ T{ node } clone dup dup ] 2dip
     (splay) nip assemble ;
 
 : do-splay ( key tree -- )
-    [ root>> splay-at ] keep (>>root) ;
+    [ root>> splay-at ] keep root<< ;
 
 : splay-split ( key tree -- node node )
     2dup do-splay root>> cmp +lt+ = [
-        nip dup left>> swap f over (>>left)
+        nip dup left>> swap f over left<<
     ] [
-        nip dup right>> swap f over (>>right) swap
+        nip dup right>> swap f over right<< swap
     ] if ;
 
 : get-splay ( key tree -- node ? )
@@ -95,7 +95,7 @@ DEFER: (splay)
 
 : splay-join ( n2 n1 -- node )
     splay-largest [
-        [ (>>right) ] keep
+        [ right<< ] keep
     ] [
         drop f
     ] if* ;
@@ -104,19 +104,19 @@ DEFER: (splay)
     [ get-splay nip ] keep [
         dup dec-count
         dup right>> swap left>> splay-join
-        swap (>>root)
+        swap root<<
     ] [ drop ] if* ;
 
 : set-splay ( value key tree -- )
-    2dup get-splay [ 2nip (>>value) ] [
+    2dup get-splay [ 2nip value<< ] [
        drop dup inc-count
        2dup splay-split rot
-       [ [ swapd ] dip node boa ] dip (>>root)
+       [ [ swapd ] dip node boa ] dip root<<
     ] if ;
 
 : new-root ( value key tree -- )
     1 >>count
-    [ swap <node> ] dip (>>root) ;
+    [ swap <node> ] dip root<< ;
 
 M: splay set-at ( value key tree -- )
     dup root>> [ set-splay ] [ new-root ] if ;
index 821aceaab14150e430a45ac7c3096a498af8591f..d56e33823451a2de6a0a94085d6c0f66c9d0da99 100644 (file)
@@ -55,7 +55,7 @@ CONSTANT: right 1
     go-left? xor [ left>> ] [ right>> ] if ;
 
 : set-node-link@ ( left parent ? -- ) 
-    go-left? xor [ (>>left) ] [ (>>right) ] if ;
+    go-left? xor [ left<< ] [ right<< ] if ;
 
 : node-link ( node -- child ) f node-link@  ;
 
index 06f1de6bc8c05d4c2ba0ae7ef21f95ad28f1501e..249698e8dc11038de050f62bdd39fb1f40d420f9 100644 (file)
@@ -78,7 +78,7 @@ M: list focusable-child* drop t ;
     dup list-empty? [
         2drop
     ] [
-        [ control-value length rem ] [ (>>index) ] [ ] tri
+        [ control-value length rem ] [ index<< ] [ ] tri
         [ relayout-1 ] [ scroll>selected ] bi
     ] if ;
 
index 705e1f19458440da20cf4f3b70af2b6671d296e7..e4632d04eaac90a59633729d1b6b2b2d6361d002 100644 (file)
@@ -72,7 +72,7 @@ PREDICATE: global-variable < variable
 : [global-getter] ( box -- quot )
     '[ _ value>> ] ;
 : [global-setter] ( box -- quot )
-    '[ _ (>>value) ] ;
+    '[ _ value<< ] ;
 
 : define-global ( word -- )
     global-box new [ [global-getter] ] [ [global-setter] ] bi (define-variable) ;