Commit Graph

190 Commits (e4e6f34f0e5c110fdeb05dd04cd9b640d9b74eb4)

Author SHA1 Message Date
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
Daniel Ehrenberg 642b5f9649 Refactoring next-match 2009-03-11 14:45:52 -05:00
Slava Pestov 40dae755b1 Change execute( to execute-unsafe( since in this case we know the types 2009-03-11 14:02:29 -05:00
Daniel Ehrenberg 329875b170 Regexp match iterators are better 2009-03-11 12:29:33 -05:00
Daniel Ehrenberg ec5bad2f7c Removing regexp interpreter 2009-03-11 11:58:58 -05:00
Daniel Ehrenberg 3cd4f3f626 Fixing regexp docs typo 2009-03-11 11:57:26 -05:00
Daniel Ehrenberg 33822922d4 Removing regexp.matchers vocab, merged into regexp 2009-03-11 00:10:11 -05:00
Daniel Ehrenberg e2fda2e227 Fixing help-lint for regexp; adding first-match and re-contains? 2009-03-10 19:34:49 -05:00
Daniel Ehrenberg 8836b2a73b matches? works as expected for reversed regexps 2009-03-10 19:17:25 -05:00
Daniel Ehrenberg 638cef2824 Many regexp changes, improving speed and organization 2009-03-10 18:27:04 -05:00
Daniel Ehrenberg 6ccd58f278 Making all the regexp words compile 2009-03-09 17:29:32 -05:00
Daniel Ehrenberg 72c4736936 Renaming an internal word in regexp 2009-03-09 15:44:11 -05:00
Daniel Ehrenberg 5cd1c8db52 Fixing regexp minimization 2009-03-08 22:34:11 -05:00
Daniel Ehrenberg 8418f8f39a More docs for regexps 2009-03-08 20:25:33 -05:00
Daniel Ehrenberg 762485c2ca Fixing xmode use lines; adding fake reluctant ?*+ to make XMode work (they're actually greedy) 2009-03-08 18:50:41 -05:00
Daniel Ehrenberg f7031eaad8 Commenting out the last failing regexp unit tests :( 2009-03-08 18:25:09 -05:00
Daniel Ehrenberg 58475217ac Making regexp tests pass by commenting out some minimization and combinator tests 2009-03-08 18:07:36 -05:00
Daniel Ehrenberg 42ff154ead More regexp changes 2009-03-07 16:31:46 -06:00
Daniel Ehrenberg c31c9fe28d Cleaning up transition tables; making \Z zero-width 2009-03-05 17:44:29 -06:00
Daniel Ehrenberg a487ed0f32 Lookaround and anchors work! (still need to fix some bugs) 2009-03-05 16:34:04 -06:00
Daniel Ehrenberg 39011fd062 More class algebra; fixing eliminating the DFA interpreter 2009-03-04 15:54:56 -06:00
Daniel Ehrenberg ca19a1b728 Unfinished changes for regexp lookaround 2009-03-04 13:22:22 -06:00
Daniel Ehrenberg eb231df4e7 Beginnings of lookahead and lookbehind 2009-03-04 00:36:03 -06:00
Daniel Ehrenberg 1740b85598 Fixing bug in disambiguation in regexps 2009-03-03 19:22:53 -06:00
Daniel Ehrenberg a28a80abcf Regexp uses sequences:map-find now 2009-03-03 12:41:50 -06:00
Daniel Ehrenberg 8a40ef0cdd Adding unit tests 2009-03-02 16:30:42 -06:00
Daniel Ehrenberg 0b5ebce339 Switching basis/globs to regexps (and EBNF for syntax); this exposes a bug in regexp 2009-03-02 15:31:28 -06:00
Daniel Ehrenberg 03ae348e78 Making regexp load; removing multimethod dependency 2009-03-02 12:39:01 -06:00
Daniel Ehrenberg 99a2b95a5b Reorganizing regexp matcher protocol 2009-02-26 22:14:41 -06:00
Daniel Ehrenberg af2d380a7f Regexp compiler used from literals 2009-02-26 18:06:57 -06:00
Daniel Ehrenberg 85432bd267 Various regexp cleanups, and compiler from regexp to quotations 2009-02-26 14:19:02 -06:00
Daniel Ehrenberg 9b14ffad5b Regexp docs, mostly 2009-02-25 16:22:01 -06:00
Daniel Ehrenberg c708bfcbca Various regexp changes, including the addition of regexp combinators 2009-02-25 12:22:12 -06:00
Daniel Ehrenberg ba1ac44176 Disambiguation works completely in regexp 2009-02-23 13:10:38 -06:00
Daniel Ehrenberg 88f9b3ea92 Work on class algebra for regexp 2009-02-21 17:13:11 -06:00
Daniel Ehrenberg be177fefa0 Disambiguation of overlapping regexp transitions 2009-02-21 12:09:41 -06:00
Daniel Ehrenberg 041be23cdc trivial change in regexp 2009-02-20 18:45:24 -06:00
Daniel Ehrenberg e41cdf5e8f Various unfinshed regexp changes 2009-02-20 17:54:48 -06:00
Daniel Ehrenberg f535b66aed Negation almost complete in regexp 2009-02-19 18:28:54 -06:00
Daniel Ehrenberg 9565b59928 Regexp negation (partial) and cleanup of regexp.nfa 2009-02-19 16:48:46 -06:00
Daniel Ehrenberg fa84f4c752 DFAs are minimized now 2009-02-19 00:11:45 -06:00
Daniel Ehrenberg 77b069ee5c Finish cleanup of regexp 2009-02-18 14:52:10 -06:00
Daniel Ehrenberg b8845cb87e Almost done with regexp cleanup 2009-02-18 12:27:07 -06:00
Daniel Ehrenberg 105ef28433 Rewriting regexp parser 2009-02-16 20:23:00 -06:00
Daniel Ehrenberg 41312ae2e5 Unfinished changes to regexp 2009-02-15 14:28:22 -06:00
Daniel Ehrenberg ff265aa919 XMode doesn't use parser combinators at all; regexes allow parens for grouping 2009-02-12 20:42:32 -06:00
Slava Pestov efc88c5b69 Remove nipd, 3nip, 4nip and tuckd from basis/shuffle 2009-02-09 18:11:42 -06:00
Slava Pestov 3458f8bbef Fix bug in re-split reported by kib2 2009-01-25 23:20:17 -06:00
Slava Pestov 5c20705ed3 Add failing unit test for regexp 2009-01-25 17:06:08 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
U-C4\Administrator 7ba4035993 some regexp features are broken. temporarily remove the regexp features that are broken 2009-01-20 11:53:50 -06:00
Slava Pestov e6aa33ac12 Add new intersects? word and use it in a few places instead of intersect empty? 2009-01-12 01:51:38 -06:00