Commit Graph

127 Commits (86923107db5be84f429df84fc6b0da8246ef7987)

Author SHA1 Message Date
Keita Haga 7b5c3279c1 prettyprint.sections: fix typo in docs 2011-01-17 04:23:17 +09:00
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
Slava Pestov 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Daniel Ehrenberg 512fe14e4e Merge branch 'bags' of git://github.com/littledan/Factor
Conflicts:

	basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
	basis/furnace/auth/auth.factor
	basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Slava Pestov f8e2ddd53f prettyprint.config: short. should not print structs as pointers 2010-03-13 19:07:34 +13: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 66bb912641 prettyprint.config: set some output limits by default. Use the new without-limits combinator to get the old behavior 2010-02-20 12:18:16 +13:00
Slava Pestov 9df8a3adbd see: show final declaration on tuples 2010-02-18 03:01:26 +13:00
Slava Pestov 4893ebf183 Small cleanups 2010-02-16 04:04:09 +13:00
Slava Pestov cde6a2c5f7 prettyprint: make callstack output needlessly fancier 2010-02-03 23:11:26 +13:00
Slava Pestov df55fed478 generic: rename method-body predicate class to method 2010-02-03 23:11:24 +13:00
Slava Pestov fbf078d4b3 words: undefined error now contains the word in question 2010-02-03 23:11:23 +13:00
Slava Pestov de3168ad71 Various documentation improvements 2010-01-26 01:01:12 +13:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 36d2ac8921 vm: move c_to_factor, lazy_jit_compile_impl, throw_impl, set_callstack assembly routines into non-optimizing compiler for x86-64 2010-01-06 15:47:36 +13:00
Doug Coleman aec676edec use surround/glue instead of 3append 2009-11-12 03:01:09 -06:00
Slava Pestov 47df580081 tools.time: overhaul 2009-11-05 01:07:59 -06:00
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Slava Pestov f5a0a8b6e1 delete -> remove! 2009-10-27 23:25:35 -05:00
Doug Coleman 67167cf9ea Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
Conflicts:
	basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04: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
Keith Lazuka bdd47b9991 help.markup: word link stack effect is now clickable 2009-09-28 10:44:46 -04:00
Slava Pestov 0836e79e66 Fix conflict 2009-09-23 20:52:04 -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
Keith Lazuka f9bb7edf3d prettyprint.stylesheet: stack effect highlighting is now a darker green 2009-09-21 15:38:55 -04:00
Joe Groff 238f600da2 document number-base prettyprinter variable. add more docs about hex float syntax 2009-09-18 15:11:01 -05:00
Slava Pestov ded68c67c0 Fix bootstrap 2009-09-14 20:26:59 -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 0e176d8de7 prettyprint.stylesheet: more idiomatic Factor style (thanks Slava) 2009-09-11 21:45:44 -04:00
Keith Lazuka e1979f5ad5 help browser: tweaked the colors based on user feedback.
The USING: line should be easier to read now.
I also decided to stop highlighting symbols.
2009-09-10 13:27:49 -04:00
Keith Lazuka 6fdd005b5c prettyprint.stylesheet: fixed an error found by help-lint 2009-09-09 16:46:05 -04:00
Keith Lazuka 5421f4fcb4 prettyprint.stylesheet: USING/USE/IN are now dimmed out. Added documentation. 2009-09-09 15:27:49 -04: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 adb15243f2 docs for new syntax and pprint config 2009-08-30 21:14:14 -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 6fe7fe72c7 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-14 10:55:05 -04:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21: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 556904cf57 simplify-callable docs 2009-08-06 16:21:53 -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 425f1f96c5 'see' on tuple classes didn't show initial values if slot type was not declared 2009-06-14 17:46:29 -05:00