Commit Graph

187 Commits (a6926b19ce97cdd8cfd2634fa41c1100bf9dde70)

Author SHA1 Message Date
Doug Coleman c21a154056 core: callstack is a builtin type and a class name. rename the *stack words that grab the current stack get-foostack to avoid the callstack builtin conflict and for better symmetry with set-foostack. 2015-08-13 10:11:59 -07:00
Doug Coleman e0d1b14e5c factor: don't need FROM: namespaces => set or namespaces:set anymore 2015-08-12 11:25:57 -05:00
Doug Coleman 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
John Benediktsson 7b46b0e39a prettyprint: use color constants for -> word-prop. 2015-08-04 20:37:29 -07:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman 2adeed9cb3 factor: rename classes:members to class-members so it doesn't conflict with sets:members. ugh. 2015-07-20 00:32:42 -07:00
John Benediktsson ac0828718f prettyprint: keep the cleanup from the last commit without the removal of { soft hard }. 2015-07-17 23:05:19 -07:00
John Benediktsson 2984496e04 Revert "prettyprint: remove { soft hard } line-break types (only ever used hard), cleanup."
This reverts commit cf0cec0ecd.
2015-07-17 23:02:54 -07:00
John Benediktsson e2fc9f003a prettyprint: cleanup using. 2015-07-17 16:42:20 -07:00
John Benediktsson cf0cec0ecd prettyprint: remove { soft hard } line-break types (only ever used hard), cleanup. 2015-07-17 16:05:38 -07:00
John Benediktsson df50480878 prettyprint.stylesheet: use assoc-union! and set-at when possible. 2015-07-10 12:37:31 -07:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
John Benediktsson 2c3492a916 minor cleanup to some docs. 2015-05-13 16:09:14 -07:00
John Benediktsson 296968580a use assoc-reject instead of [ ... not ] assoc-filter. 2015-05-12 19:08:42 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson a563f92b27 prettyprint: a bit more cleanup. 2014-12-11 08:02:45 -08:00
John Benediktsson 9a642531e0 prettyprint: some minor cleanup. 2014-12-11 07:52:14 -08:00
Doug Coleman 38e0b0643f prettyprint: @mrjbq7's funny word for . that doesn't limit the length of things. 2014-10-09 18:54:14 -07:00
John Benediktsson 3fdea2c66b prettyprint.backend: use , not % in unparse-ch. 2014-09-30 08:23:32 -07:00
John Benediktsson 5ee4ae0fcb Revert "prettyprint.config: string-limit? shouldn't be a global."
This reverts commit d33877a941.
2014-08-05 10:48:31 -07:00
John Benediktsson 82486a5f51 prettyprint.backend: fix pprint for new escape codes. 2014-06-04 06:55:34 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 74460b548b prettyprint: fix off-by-one, thanks @adjvondrak! 2013-04-25 20:19:12 -07:00
John Benediktsson 2526d3c982 Fix some copyrights, sorry "Your name". 2013-04-25 13:26:36 -07:00
John Benediktsson 24b116be1c prettyprint: rename so it doesn't look so much like print-error. 2013-04-10 19:18:15 -07:00
John Benediktsson e42144e9ea prettyprint: cleanup duplicate code. 2013-04-10 18:50:11 -07:00
John Benediktsson 85acdb2520 prettyprint: speed up unparse by not making the manifest sometimes. 2013-04-06 12:45:15 -07:00
John Benediktsson d5e5991671 prettyprint: fix length limit to be 'maximum length before truncation'. 2013-03-20 15:30:29 -07:00
Doug Coleman 5291eec130 prettyprint: Don't print ~1 more~ when there is only one element left. Fixes #524. 2013-03-20 14:26:05 -07:00
John Benediktsson e9d8ff1c0d prettyprint.sections: more use of hash-sets. 2013-03-08 16:32:09 -08:00
John Benediktsson 43a0698a6c prettyprint.backend: fix docs. 2012-07-29 11:52:36 -07:00
John Benediktsson f1e232c981 prettyprint: print unprintables by hex escaping. 2012-07-29 10:14:54 -07:00
Doug Coleman 350035fe27 prettyprint.sections: Rename text tuple to text-section 2012-07-20 12:30:14 -07:00
John Benediktsson d33877a941 prettyprint.config: string-limit? shouldn't be a global. 2012-07-19 15:31:08 -07:00
John Benediktsson 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 90d0951ada more use of H{ } make. 2012-07-19 11:24:45 -07:00
John Benediktsson 5cc30f46f5 using if-zero in more places. 2012-07-16 15:45:21 -07:00
Doug Coleman f7e153c075 issue #358: change line-break to add-line-break 2012-06-21 08:38:04 -07:00
John Benediktsson d9e1f20286 listener: move pprint error catching to stack. 2012-06-01 17:54:58 -07:00
John Benediktsson b4018e9296 prettyprint: document "~1 more~" behavior (funny because it takes as much as room as... 1 more). 2012-06-01 15:15:29 -07:00
Doug Coleman 2699c4482b prettyprint: Fix unit tests. Remove useless line. 2012-05-04 09:09:39 -07:00
Doug Coleman 3507b9bad7 classes:
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -07:00
Joe Groff 13f27f3d9e prettyprint.backend: can't use locals 2011-11-23 20:20:27 -08:00
Joe Groff 6d1a28aca6 prettyprint: use radix prefixes for number-base 2011-11-23 20:05:23 -08:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman 64bbd248d5 classes.maybe: Change the type of maybe's class slot. As a result, maybe: maybe: integer is valid now, so fix the unit tests and its prettyprinting. 2011-11-23 01:43:02 -08:00