Commit Graph

141 Commits (c20d36bab9372a93e3d71be389003d87fc83c859)

Author SHA1 Message Date
Doug Coleman 1e9afc927f Simplify combinator with joe's suggestion, unit test 2010-08-29 15:24:55 -05:00
Doug Coleman bd3fccfd4a Clean up html.parser.analyzer, apply blei's fix for find-between* 2010-08-29 13:22:11 -05:00
Philipp Brüschweiler 99a37fd571 html.parser.analyzer: find-between* didn't always return a sequence, which in turn broke find-hrefs (reported by randy7) 2010-08-13 22:53:37 +02:00
Daniel Ehrenberg da57436180 Finishing eliminating prune as a synonym of members 2010-02-27 14:52:24 -05:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman 3e28be6568 move sequence-parser to sequences.parser 2009-11-05 17:12:10 -06:00
Doug Coleman 725a07b62d add find-images word 2009-08-26 14:28:06 -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
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Doug Coleman 8f688eb742 fix comments and dtds in html parser 2009-05-20 15:50:01 -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
Doug Coleman 9ac2214b62 fix html.parser 2009-04-11 12:11:00 -05:00
Doug Coleman 6583b4d38e rename html.parser.state to sequence-parser 2009-04-09 15:28:48 -05:00
Doug Coleman 8875c2ba26 return links as URL objects in html vocab 2009-04-03 21:15:52 -05:00
Doug Coleman a42b872a23 fix bug in take-sequence 2009-04-03 12:40:45 -05:00
Doug Coleman 7c7742cafa use unicode instead of ascii again 2009-04-02 01:18:53 -05:00
Doug Coleman 9bee1fe004 fix take-rest for out of bounds 2009-04-01 22:39:20 -05:00
Doug Coleman 7b6260ca8c remove tokenize-line 2009-04-01 17:28:36 -05:00
Doug Coleman 6af6de1aac make tokenize-line configurable, fix bug in take-quoted-string 2009-04-01 15:51:39 -05:00
Doug Coleman d64e07af8b fix bug in state-parser, add take-token 2009-04-01 15:23:05 -05:00
Doug Coleman 947bcc3d33 state-parser take-quoted-string rewinds if the string is not found 2009-04-01 14:50:43 -05:00
Doug Coleman 1e4eebda3a refactor state parser some more, add a word to parse escaped strings 2009-04-01 14:36:08 -05:00
Doug Coleman d52535b63a set non-key/value attributes to themselves 2009-04-01 13:42:38 -05:00
Doug Coleman 09e4d34ff2 rename next to advance 2009-04-01 12:52:02 -05:00
Doug Coleman 28dae46b7d make html.parser words private 2009-04-01 12:48:51 -05:00
Doug Coleman 9ecf8ec3db remove dead code 2009-04-01 12:47:17 -05:00
Doug Coleman 826d9f18c5 fix parsing of attributes for nofollows 2009-04-01 12:44:38 -05:00
Doug Coleman 7060a5905f add take-sequence to state parser 2009-04-01 12:44:06 -05:00
Doug Coleman d82b8ba4eb more cleanup 2009-04-01 11:48:44 -05:00
Doug Coleman fdb8c9da1a cleaning up html.parser 2009-04-01 11:43:30 -05:00
Doug Coleman 20df429a50 take-until doesnt pass the element to the quotation anymore 2009-04-01 03:13:38 -05:00
Doug Coleman f994654af3 add take-while to state parser 2009-04-01 02:45:20 -05:00
Doug Coleman 99c3cd9517 more renaing get-char to current 2009-04-01 02:33:38 -05:00
Doug Coleman aa37871ff9 rename get-next to peek-next, get-char to current 2009-04-01 02:32:48 -05:00
Doug Coleman 8e26b19cc0 state-parser works with sequences, not strings
fix bug with take-until
2009-03-31 18:49:41 -05:00
Doug Coleman ebddd32677 remove duplication, refactor html.parser to use new state parser 2009-03-31 16:05:11 -05:00
Doug Coleman a07c17598e redo state parser to avoid dynamic variables 2009-03-31 16:04:39 -05:00
Doug Coleman ccdef35949 inline everything so stuff compiles 2009-03-22 19:25:55 -05:00
Doug Coleman 7f0aba9de0 uncomment unit tests and fix parser.state.... 2009-03-15 13:27:36 -05:00
Daniel Ehrenberg 984b68d00b Fixing HTML dependancy on state-parser 2009-01-21 21:57:44 -06:00
Doug Coleman e626431a7e Refactor html.parser.utils a bit 2009-01-04 11:38:25 -06:00
Doug Coleman 0329083970 remove >r r> 2008-12-14 00:38:37 -06:00
Doug Coleman c75777b7a2 swap ... 3append -> surround in extra 2008-12-06 18:58:05 -06:00
Doug Coleman 829c379c49 remove >r r> 2008-11-29 12:18:28 -06:00
Slava Pestov e6fbd4f84f fix compile errors 2008-11-16 16:59:25 -06:00
Doug Coleman ef51d1bbf0 refactoring 2008-10-19 15:52:59 -05:00
Doug Coleman 3ac95de9dc doesn't need sequences.lib anymore 2008-10-01 17:53:46 -05:00
Doug Coleman 678e4b4a33 Merge branch 'master' of git://factorcode.org/git/factor 2008-09-29 21:23:27 -05:00
Slava Pestov eaa2b43ca7 Fix load error 2008-09-29 20:32:52 -05:00
Doug Coleman 908d41a305 minor change 2008-09-29 20:21:12 -05:00
Doug Coleman 3b98f2bc2f copyright 2008-09-25 02:06:49 -05:00
Doug Coleman 3dc81abc07 cleaning up html.parser 2008-09-25 02:02:47 -05:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Doug Coleman ad890e8a31 if-empty changes 2008-09-06 17:15:25 -05:00
Slava Pestov aea0fed14c Fixing basis -> extra dependencies 2008-09-05 19:29:14 -05:00
Slava Pestov 724fae53e9 Move web framework to basis 2008-09-04 18:15:13 -05:00
Doug Coleman 8f00739601 remove old accessors, cleanup 2008-08-17 10:38:34 -05:00
Doug Coleman d50afc2a35 remove unfinished code for now 2008-08-13 23:13:13 -05:00
Doug Coleman 805cb650bd add find-hrefs word 2008-08-13 23:09:43 -05:00
Doug Coleman 3cb382c70b Merge branch 'master' of git://factorcode.org/git/factor 2008-07-08 15:34:12 -05:00
U-SLAVA-DFB8FF805\Slava 0051a50b75 Move general shufflers and combinators into generalizations, move narray there too 2008-07-07 19:36:33 -05:00
Doug Coleman e92980b9ad fix compiler errors 2008-06-14 00:41:48 -05:00
Doug Coleman c094215b2c Merge branch 'master' of git://factorcode.org/git/factor 2008-06-12 13:37:21 -05:00
Slava Pestov b01d1f8a56 Request size limit and encoding support for HTTP server 2008-06-12 03:50:20 -05:00
Doug Coleman a0dbee6e2a clean up html parser prettyprinter a bit 2008-06-08 16:33:07 -05:00
Slava Pestov d35f25f334 Fix load errors 2008-06-02 17:51:06 -05:00
Doug Coleman 7a408dcf55 mmmm....upgrades
better html analyzer
2008-05-23 23:34:10 -05:00
Doug Coleman 44d0490ec0 fix compile error on html.parser
added some more screen scraping words
2008-05-19 18:58:56 -05:00
Slava Pestov c60baf1232 sift and harvest words added 2008-05-13 23:36:55 -05:00
Doug Coleman fd531c1a31 rename butlast to but-last 2008-05-07 01:38:34 -05:00
Doug Coleman 7c09936f30 use butlast, butlast-slice
"extra/foo" resource-path -> "resource:extra/foo"
2008-05-06 12:37:11 -05:00
Doug Coleman 4d0ba8c3c1 reverse args for assoc-diff, diff
fix lots of usings
fix help lint
2008-04-26 02:01:43 -05:00
Doug Coleman b7c1f9dbe8 extra changes:
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:17:08 -05:00
Doug Coleman 5fa3bd8c74 cond/case 2008-04-11 12:55:57 -05:00
Doug Coleman 915fd4e0f8 fix two load errors 2008-03-07 16:45:11 -06:00
Doug Coleman ebc0127d01 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:

	extra/html/parser/analyzer/analyzer.factor
2008-03-06 17:12:15 -06:00
Doug Coleman 488579e1c0 add some more find words 2008-03-06 17:09:48 -06:00
dharmatech a336cb7570 Unit test fixes 2008-03-06 13:46:15 -06:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Doug Coleman 3b6e6a1e13 add query>hash* to html.parser.analyzer 2008-02-11 17:19:27 -06:00
Doug Coleman 34c1170963 add a few utility words 2008-02-11 16:27:40 -06:00
Eduardo Cavazos 5da80f7e5d Lot's of load-everything fixes.
* untabify things
  * using ascii or unicode
2008-02-02 00:29:47 -06:00
Slava Pestov 1c91a286e5 Updating summary and authors 2008-01-27 01:02:31 -04:00
Doug Coleman 097dad070a minor tweaks to make these modules load with load-everything 2008-01-14 11:42:21 -10:00
Slava Pestov c8360f5ae5 Rename curry* to with 2008-01-09 17:36:30 -05:00
Aaron Schaefer 897a8ed8aa Replace '<file-reader> contents' with 'file-contents' in all vocabs 2007-12-31 14:47:24 -05:00
Doug Coleman 0a23aebc76 Fix using 2007-12-04 14:17:34 -06:00
Doug Coleman 47bab61d72 Fix using 2007-12-04 14:15:41 -06:00
Doug Coleman 4ac3b181f0 Fix usings and vocab names 2007-12-04 14:14:33 -06:00
Doug Coleman e2acf8c386 Rename http.parser to html.parser 2007-12-04 14:14:07 -06:00