Joe Groff
8c9c0f05d2
prettyprint.backend: leave nesting-limit unset when prettyprinting hashtables without a nesting limit, fixing the bug where it would get set to 1 and print nothing (reported by Blei)
2010-06-28 09:10:16 -07:00
Joe Groff
f9bd9efd7c
prettyprint.backend: add 1 to nesting-limit while pprinting hashtables 'cause H{ ~array~ ~array~ } is kind of useless
2010-06-14 16:13:30 -07:00
Daniel Ehrenberg
7074979745
Moving new-sets to sets
2010-02-26 16:01:01 -05:00
Daniel Ehrenberg
e43312d780
Moving new-sets and hash-sets to core
2010-02-26 11:01:57 -05:00
Slava Pestov
df55fed478
generic: rename method-body predicate class to method
2010-02-03 23:11:24 +13:00
Doug Coleman
aec676edec
use surround/glue instead of 3append
2009-11-12 03:01:09 -06:00
Doug Coleman
bd13e018dd
memq? -> member-eq?, sorted-memq? -> sorted-member-eq?
2009-10-28 15:02:00 -05:00
Slava Pestov
218d1cdd31
prettyprint.backend: fix performance problem when printing large arrays with length limit on
2009-10-02 01:23:17 -05:00
Slava Pestov
3d4ce094d2
prettyprint.backend: don't bomb if printing length-limited sequence which doesn't like being resized itself. Instead convert to array of elements first
2009-09-23 02:48:23 -05:00
Joe Groff
8c14af3f6c
add a number-base configuration variable to prettyprint.config. set to 2 to print BIN:, 8 to print OCT:, 10 to print decimal, 16 to print HEX:
2009-09-14 15:03:05 -05:00
Slava Pestov
3c55e7fe0c
Add NAN: literal syntax for NANs with a payload
2009-09-12 15:06:15 -05:00
Keith Lazuka
3fb75247b2
Applied ui-tweaks patchset.
...
- prettyprinter now does syntax highlighting of Factor code
- added a prettyprinter.stylesheet vocab
- text shadow character style for formatted streams
- text shadow for labels
- toolbar buttons display keyboard shortcut in status bar rather than in the button title
- changed some colors in help.stylesheet to match the colors in Factor's scrollbars and border-buttons
- changed status bar color to match the dark blue in Factor's scrollbars
- added some internal padding to the browser gadget to give the article content some breathing room
NOTE: I removed the "pane" slot from browser-gadget. The slot was never used (at least in my image), and now that the browser-gadget's help-pane is wrapped by a "border" gadget, the slot name would be misleading.
2009-09-08 13:30:30 -04:00
Joe Groff
52a5a22b9d
restore pprint stack when c-object pprinters fail so that the fallback pprint syntax is still clickable
2009-08-31 20:10:51 -05:00
Joe Groff
dee9f56500
add alternate literal syntax "X-array@ PTR LEN" for direct-arrays. pprint with this syntax when c-object-pointers? prettyprint flag is set, or the pointer under the direct-array is invalid
2009-08-30 20:23:55 -05:00
Joe Groff
c898593983
decouple struct parsing/printing from tuple parsing/printing a bit
2009-08-19 18:53:44 -05:00
Joe Groff
875284f8ab
S{ } syntax for structs
2009-08-12 15:59:33 -04:00
Joe Groff
25c3434892
pprint structs with tuple syntax
2009-08-12 13:16:43 -04:00
Joe Groff
fcfe16d8d0
make simplify-callable prettyprinting an optional load in extra
2009-08-07 16:19:46 -04:00
Joe Groff
0a4d926212
simplify dip/call/curry/compose in callable objects before prettyprinting
2009-08-06 16:16:17 -04:00
Slava Pestov
94884dfd18
Fix more usings
2009-05-16 09:48:58 -05:00
Slava Pestov
ba07afd383
Change how byte-vectors prettyprint
2009-05-16 08:56:09 -05:00
Slava Pestov
b4088373b7
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-04 05:16:47 -05:00
Joe Groff
585ea8da54
don't pprint gadgets with RECT: syntax
2009-05-03 18:32:35 -05:00
Slava Pestov
a63ad6a7a5
Remove cruddy string encoding/decoding code from VM
2009-05-02 13:45:38 -05:00
Slava Pestov
2e115dc5c3
Better prettyprinting of method-body instances
2009-04-24 00:20:33 -05:00
Slava Pestov
3752c706da
Add M\ syntax for method literals
2009-04-06 02:57:39 -05:00
Slava Pestov
50e214c152
io.files split up and general refactoring work in progress
2008-12-14 20:03:00 -06:00
Slava Pestov
4f0a9f311e
Untangling some dependencies
2008-12-08 14:58:00 -06:00
Doug Coleman
14fb58f448
swap ... 3append -> surround in basis
2008-12-06 18:58:45 -06:00
Slava Pestov
e5ed7447ed
Removing more >r/r> usages
2008-12-03 08:46:16 -06:00
Slava Pestov
3e29a31493
Residual fixes for curry/compose change
2008-11-21 05:17:20 -06:00
Slava Pestov
af5e5611dc
Better invalid callable check
2008-11-19 18:59:30 -06:00
Slava Pestov
eed1dd3d2b
Fix byte vector prettyprinting
2008-11-11 23:38:19 -06:00
Slava Pestov
cc879fa9b7
Tuple layouts are now arrays, instead of built-in types. The superclass
...
array is now part of the tuple layout object itself, and class hashcodes
are stored alongside class words there. This removes 2 indirections when
reading a superclass, and 3 when reading a superclass hashcode.
2008-11-05 22:20:29 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
44f53de164
Move make to its own vocabulary, remove fry _ feature
2008-09-10 20:07:00 -05:00
Slava Pestov
d97ea12439
Tweak prettyprinter
2008-09-08 17:52:11 -05:00
Slava Pestov
05f47c1aaf
Prettyprinter now emits assoc-form tuples unless boa-tuple? is on
2008-09-06 03:23:54 -05:00
Slava Pestov
e1716d92b3
Remove delegation slot
2008-09-03 03:46:56 -05:00
Slava Pestov
0c304b8fc6
Removing old accessor usages from core and basis
2008-08-31 07:45:33 -05:00
Eduardo Cavazos
011a63a27e
prettyprint.backend: Use color objects
2008-08-01 14:29:48 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00