Commit Graph

34 Commits (clean-linux-x86-64)

Author SHA1 Message Date
Doug Coleman 211d69561a escape-strings: Add a way to find the shortest lua-string escape.
Also add a way to escape a string as either 'foo "foo" or [[foo]] depending on which delimiters will do the job.

Add a couple helper words to assocs.extras
2018-06-30 00:39:39 -05:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Doug Coleman 2e65fabf30 assocs: kv-with word. 2018-06-03 21:33:55 -05:00
Doug Coleman 435ce60165 assocs.extras: fry can easily curry the top item of the stack. 2018-02-20 01:21:28 -06:00
Doug Coleman f3934d53c7 assocs.extras: go nuts on the crazy assoc words. 2018-02-19 23:04:33 -06:00
John Benediktsson 4a144e5ea7 more test IN: cleanup. 2018-02-15 08:45:08 -08:00
Doug Coleman a372224e9b git: Add repo that can do some git things in native Factor. 2017-08-31 20:44:24 -05:00
Björn Lindqvist 1ca8276df4 basis/,core/,extra/: many new tags 2017-07-06 23:04:18 +02:00
Doug Coleman 363e08b6a8 factor: fix whitespace at end of files. 2016-04-06 16:53:25 -07:00
Doug Coleman 10cb7e12c1 assocs.extras: Add a word set-once-at that throws if the key is already set. 2016-04-04 11:46:34 -07:00
Doug Coleman 434f08a303 assocs: Add harvest-keys, harvest-values to core/. Remove assoc-sift because it's sift-keys, sift-values in core/. 2015-08-08 12:16:48 -05:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -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
John Benediktsson fbc146d97a assocs.extras: minor changes to assoc-merge. 2015-06-03 08:59:41 -07:00
John Benediktsson 296968580a use assoc-reject instead of [ ... not ] assoc-filter. 2015-05-12 19:08:42 -07:00
Doug Coleman 7cfa9d9518 assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
John Benediktsson dce2e90839 assocs.extras: adding delete-value-at. 2014-10-23 15:08:38 -07:00
John Benediktsson e9e4115de1 assocs.extras: adding assoc-sift. 2014-02-13 20:08:12 -08:00
John Benediktsson ed73d4c63a assocs.extras: adding assoc-merge. 2013-03-24 12:26:30 -07:00
Doug Coleman 8c19602ae9 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
John Benediktsson 1d6209e80e assocs.extras: adding assoc-invert. 2012-11-07 17:01:37 -08:00
John Benediktsson 688f088faf assocs.extras: use min-length in zip-as. 2012-10-30 09:50:53 -07:00
John Benediktsson 19ac40f0d9 assocs.extras: adding if-assoc-empty. 2012-10-04 04:08:44 -07:00
John Benediktsson ddbffb6375 assocs.extras: adding "of". 2012-09-26 15:41:36 -07:00
John Benediktsson 2bf2bd0ee2 assocs.extras: fix using. 2012-09-26 15:34:31 -07:00
John Benediktsson c1fe403b98 assocs.extras: move assocs extras words here. 2012-09-26 15:33:40 -07:00
Doug Coleman 27f445d505 assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson d5ef0e046a assocs.extras: adding (in-place) substitute!. 2012-07-13 19:00:49 -07:00
John Benediktsson 2d3f46acf4 assocs.extras: fixing stack effect, inline words. 2012-07-11 22:15:44 -07:00
John Benediktsson c3a6eab9ca assocs.extras: adding a "zip-as" that is faster than "zip >hashtable". 2012-07-11 20:37:12 -07:00
John Benediktsson 2bc8016d40 assocs.extras: more tests for deep-at. 2012-05-17 09:40:43 -07:00
John Benediktsson 9230acbbb8 assocs.extras: adding deep-at. 2012-05-14 17:04:52 -07:00
John Benediktsson 3ace73ec00 assocs.extras: adding assoc-harvest and assoc-sift. 2012-04-27 11:39:20 -07:00