-- "html" words . ==> fails\r
-\r
+ ui:\r
\r
- fix up the min thumb size hack\r
\r
+ kernel:\r
\r
+- better handling of random arrangements of html words when\r
+ prettyprinting\r
- friendlier .factor-rc load error handling\r
- reader syntax for arrays, byte arrays, displaced aliens\r
- out of memory error when printing global namespace\r
wrapped 1vector \ W[ \ ]W pprint-sequence
] ifte ;
-: with-pprint ( quot -- )
+: pprint ( object -- )
[
- <pprinter> pprinter set call pprinter get do-pprint
- ] with-scope ; inline
-
-: pprint ( object -- ) [ pprint* ] with-pprint ;
+ <pprinter> pprinter set pprint* end-blocks
+ pprinter get do-pprint
+ ] with-scope ;
: unparse ( object -- str ) [ pprint ] string-out ;
: define-open
#! The word will be pretty-printed as a block opener.
- #! Examples are [ { {{ << and so on.
+ #! Examples are [ { {{ [[ << and so on.
[ <block ] "pprint-after-hook" set-word-prop ;
: define-close ( word -- )
#! The word will be pretty-printed as a block closer.
- #! Examples are ] } }} ]] and so on.
+ #! Examples are ] } }} ]] >> and so on.
[ block> ] "pprint-before-hook" set-word-prop ;
{