Commit Graph

241 Commits (1ce3b727601f484c8644f394a10d26fe16fdb61d)

Author SHA1 Message Date
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 8089bbaeab regexp.parser: fix for recent unicode.scripts change. 2014-05-19 20:51:01 -07:00
John Benediktsson af48be41c8 Revert "regexp.compiler: slightly faster with t/f check."
This reverts commit 9dcaa5c7e690bc38e468f355cbbafd3c5b299f90.
2014-05-19 10:04:16 -07:00
John Benediktsson 647b8ffb46 regexp.compiler: slightly faster with t/f check. 2014-05-18 20:42:02 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 8e4ce647d3 regexp: adding re-replace-with. 2014-05-18 13:48:22 -07:00
John Benediktsson 4b9b14308d regexp.minimize: use sort-pair instead of natural-sort. 2013-04-02 16:54:25 -07:00
John Benediktsson e9aeef7a5e regexp.dfa: more use of hash-sets. 2013-03-08 16:50:59 -08:00
John Benediktsson 87f55eb033 Change "3dup drop" to "2over". 2012-10-22 20:45:15 -07:00
Doug Coleman 8bfed897a8 combinators.smart: Add cleave>array. 2012-09-16 17:32:27 -07:00
John Benediktsson 7873719c6e regexp.classes: bit more speed with read-only slots. 2012-09-12 08:39:40 -07:00
John Benediktsson d657cbb286 regexp.classes: inline class-member?. 2012-09-11 20:22:17 -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 74cdcba2cd fix some docs to have string article names. 2012-07-31 14:41:32 -07:00
John Benediktsson 5c76cbb421 rename some words to x>sequence and sequence>x. 2012-07-23 21:28:38 -07:00
John Benediktsson 5cc30f46f5 using if-zero in more places. 2012-07-16 15:45:21 -07:00
Joe Groff df19e2ee01 regexp.parser: fix failing test 2011-12-06 21:11:58 -08:00
Doug Coleman 9a55bfb5a2 regexp: trivial refactoring 2011-11-28 11:46:15 -08:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Joe Groff 47cedd8d3d slice boa -> <slice-unsafe>
If you didn't define it, don't boa it
2011-11-09 19:22:09 -08:00
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
Slava Pestov df7ee85daf regexp.classes: remove dependency on mirrors vocab 2011-10-10 21:09:59 -07:00
John Benediktsson d58bc08aa0 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
Keita Haga fbed575d3e regexp: fix typo in docs 2011-03-05 23:00:52 +09:00
Keita Haga 72d91eea8d regexp: fix typos in docs 2011-01-15 00:57:32 +09:00
Slava Pestov cdb52119a0 regexp: fix test 2010-07-23 20:40:44 -07:00
Slava Pestov 44dc1aadc0 regexp: fix match iteration with empty matches, and fix reverse regexes since they were totally broken (bugs reported by Joe Groff and various others) 2010-07-23 19:44:39 -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 aa6158b366 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Daniel Ehrenberg 240c6819a9 Merge branch 'master' into conditional 2010-03-28 19:49:32 -04:00
Daniel Ehrenberg 88e88207ff Fixing bug in regexp \P 2010-03-23 00:30:49 -04:00
Daniel Ehrenberg eb060443db Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -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
Joe Groff 84aa47610f mop up errors from test-all 2010-03-09 10:22:14 -08:00
Joe Groff 191ac353fd generalize stack effects so we can bootstrap with the stricter stack effect checking 2010-03-08 23:38:10 -08:00
Daniel Ehrenberg 3ad5ca4636 Regexps use new sets rather than assocs for final states 2010-03-02 18:05:37 -05:00
Daniel Ehrenberg da57436180 Finishing eliminating prune as a synonym of members 2010-02-27 14:52:24 -05:00
Daniel Ehrenberg 7cd3360cdd Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05:00
Daniel Ehrenberg 7074979745 Moving new-sets to sets 2010-02-26 16:01:01 -05:00
Slava Pestov cdcdb708d7 Update some more 'update' usages to call 'assoc-union!' 2010-02-04 03:44:24 +13:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Joe Groff 61d579360d remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Joe Groff fa6d7b7069 eliminate spin from basis 2009-11-05 14:05:06 -06:00
Joe Groff 3fbe722561 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Slava Pestov 0836e79e66 Fix conflict 2009-09-23 20:52:04 -05:00
Keith Lazuka bea4aa7662 docs: updated some docs to use new markup 2009-09-22 15:22:34 -04:00
Doug Coleman eceed177d6 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Doug Coleman 7c92ab1ea5 move if-zero etc to math, remove 1-/1+ from math 2009-08-14 14:27:23 -05: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
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Doug Coleman 7a1841f59b (( -- )) eval -> eval( -- ) 2009-04-17 15:49:21 -05:00
Doug Coleman dba4c0d589 fixing compiler errors in basis 2009-04-17 12:46:04 -05:00
Daniel Ehrenberg 541ce3aa68 Fixing regexp parser bug: now R/ foo/5 makes an error 2009-04-12 13:57:49 -05:00
Doug Coleman fb37e0eaca unbreak regexp 2009-04-06 19:43:50 -05:00
Doug Coleman 77f99eb70c use map-reduce instead of unclip reduce, "Why do we need this?" --> we don't 2009-04-06 17:32:20 -05:00
Daniel Ehrenberg 5ecff284ef Fixing regexp compiler's bounds checks 2009-03-29 22:57:13 -05:00
Slava Pestov ea26949051 Minor fixes to regexp docs 2009-03-21 04:07:28 -05:00
Slava Pestov 3de9723d22 Update unicode.categories.syntax 2009-03-21 03:32:10 -05:00
Daniel Ehrenberg 62c2ee8d3b Documenting character class operations 2009-03-21 03:22:50 -05:00
Daniel Ehrenberg d6f9947bff Regexp character class intersection and difference syntax 2009-03-21 02:53:36 -05:00
Slava Pestov ea60f8ae93 Changing : foo ; parsing to SYNTAX: foo ; 2009-03-21 01:27:50 -05:00
Daniel Ehrenberg f3038f2ae8 More docs for Unicode and simple-flat-file; moving more parsing code there 2009-03-20 19:53:54 -05:00
Daniel Ehrenberg 9760f54857 Regexp supports Unicode properties (categories and script) 2009-03-20 19:03:26 -05:00
Daniel Ehrenberg 1dd34ad776 Reorganizing Unicode data, so that the data tables are private; ch>upper moves to unicode.data 2009-03-18 21:04:36 -05:00
Daniel Ehrenberg 4aec9d2c46 Merge branch 'master' of git://factorcode.org/git/factor 2009-03-18 18:12:18 -05:00
Slava Pestov e2fdb0783c Separate regexp.prettyprint from regexp to reduce deployed image size 2009-03-18 17:07:19 -05:00
Daniel Ehrenberg 8157a6a52f Making regexp AST building linear time rather than quadratic for a{n} 2009-03-18 17:03:38 -05:00
Daniel Ehrenberg ba9938c30f Reorganizing things in regexp, mostly 2009-03-18 16:09:45 -05:00
Daniel Ehrenberg 54194d269c Some reorganizing in Unicode; regexp class changes 2009-03-17 19:39:04 -05:00
Slava Pestov 32678fc4d1 Merge branch 'master' of git://factorcode.org/git/factor 2009-03-17 19:06:56 -05:00
Daniel Ehrenberg a181c22015 Regexp docs typo fix 2009-03-17 00:10:55 -05:00
Daniel Ehrenberg 9f8ccb67a7 Making disambiguation faster 2009-03-16 23:49:31 -05:00
Daniel Ehrenberg 2f8adf9d4d Fixing regexp docs 2009-03-16 22:43:08 -05:00
Daniel Ehrenberg a26fb62831 Merge branch 'master' of git://factorcode.org/git/factor 2009-03-16 22:31:15 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Daniel Ehrenberg b745930b28 More regexp docs 2009-03-16 18:14:39 -05:00
Daniel Ehrenberg ababfe80ef More regexp docs; unix line ending support 2009-03-16 17:53:38 -05:00
Slava Pestov 58d997de5c Refactor regexp.compiler to not all with-compilation-unit so much; benchmark.regex-dna loads about twice as fast now 2009-03-16 05:00:27 -05:00
Slava Pestov 46da224f8b Update regexp and tools.deploy docs 2009-03-13 23:12:56 -05:00
Slava Pestov 67f5a932db Fix regexp.nfa to load if unicode.case is not already loaded 2009-03-13 19:40:54 -05:00
Slava Pestov ad0ae4200f Remove workaround from regexp.compiler now that with-compilation-unit infers 2009-03-13 19:40:38 -05:00
Daniel Ehrenberg 1ca2e8196b Making regexp generate less class algebra 2009-03-11 22:04:47 -05:00
Daniel Ehrenberg 98392ef2ab Merge branch 'master' of git://factorcode.org/git/factor 2009-03-11 19:39:55 -05:00
Daniel Ehrenberg e70748f8f1 Redoing class algebra so conjunction works 2009-03-11 19:39:35 -05:00
Slava Pestov 034bda42ca Inline initial state in next-match loop 2009-03-11 17:06:45 -05:00
Slava Pestov 44d36dab9c Merge branch 'master' of git://factorcode.org/git/factor 2009-03-11 16:54:26 -05:00
Slava Pestov 18ca3b3419 Add some declarations so that next-match is faster 2009-03-11 16:53:44 -05:00
Slava Pestov 7dac8de701 Get rid of match tuple 2009-03-11 16:36:53 -05:00
Slava Pestov 643da5f073 Remove match iterators for a performance boost 2009-03-11 16:21:29 -05:00
Daniel Ehrenberg 23c8b375cc Uncommenting most remaining regexp unit tests 2009-03-11 16:06:14 -05:00
Daniel Ehrenberg 8b286cea4c Adding word breaks to regexp 2009-03-11 15:51:54 -05:00
Daniel Ehrenberg c193f1b68a Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:

	basis/regexp/regexp.factor
2009-03-11 14:47:05 -05:00