+++ /dev/null
-! Copyright (C) 2023 Dave Carlton.
-! See https://factorcode.org/license.txt for BSD license.
-USING: accessors io kernel lexer namespaces prettyprint sequences
-strings.parser ui.tools.listener words ;
-IN: ui.tools.listener.log
-
-: L.s* ( listener -- )
- input>> output>>
- [ "---" print .s ]
- with-output-stream* ;
-
-: L.s ( -- )
- get-listener L.s* ;
-
-: (lcompose) ( string -- quot )
- [ nl print ] curry ;
-
-SYMBOL: LPRINT
-
-: Lprint* ( string listener -- )
- swap LPRINT set
- input>> output>>
- [ LPRINT get print ]
- with-output-stream* ;
-
-: Lprint ( string -- )
- get-listener Lprint* ;
-
-: +colon-space ( string -- string' ) ": " append ;
-: +space ( string -- string' ) " " append ;
-
-: (.here) ( name -- ) +colon-space Lprint ;
-: (here.) ( obj name -- ) [ unparse ] dip +colon-space prepend Lprint ;
-: (here.s) ( name -- ) +colon-space Lprint L.s ;
-
-SYNTAX: .HERE last-word name>> suffix! \ (.here) suffix! ;
-SYNTAX: HERE. last-word name>> suffix! \ (here.) suffix! ;
-SYNTAX: HERE.S last-word name>> suffix! \ (here.s) suffix! ;
-SYNTAX: HERE" last-word name>> +colon-space ! "for the editors sake
- lexer get skip-blank parse-string append suffix!
- \ Lprint suffix! ;
-
--- /dev/null
+! Copyright (C) 2023 Dave Carlton.
+! See https://factorcode.org/license.txt for BSD license.
+USING: accessors io kernel lexer namespaces prettyprint sequences
+strings.parser ui.tools.listener words ;
+IN: ui.tools.listener.log
+
+: L.s* ( listener -- )
+ input>> output>>
+ [ "---" print .s ]
+ with-output-stream* ;
+
+: L.s ( -- )
+ get-listener L.s* ;
+
+: (lcompose) ( string -- quot )
+ [ nl print ] curry ;
+
+SYMBOL: LPRINT
+
+: Lprint* ( string listener -- )
+ swap LPRINT set
+ input>> output>>
+ [ LPRINT get print ]
+ with-output-stream* ;
+
+: Lprint ( string -- )
+ get-listener Lprint* ;
+
+: +colon-space ( string -- string' ) ": " append ;
+: +space ( string -- string' ) " " append ;
+
+: (.here) ( name -- ) +colon-space Lprint ;
+: (here.) ( obj name -- ) [ unparse ] dip +colon-space prepend Lprint ;
+: (here.s) ( name -- ) +colon-space Lprint L.s ;
+
+SYNTAX: .HERE last-word name>> suffix! \ (.here) suffix! ;
+SYNTAX: HERE. last-word name>> suffix! \ (here.) suffix! ;
+SYNTAX: HERE.S last-word name>> suffix! \ (here.s) suffix! ;
+SYNTAX: HERE" last-word name>> +colon-space ! "for the editors sake
+ lexer get skip-blank parse-string append suffix!
+ \ Lprint suffix! ;
+