Commit Graph

220 Commits (dadff2f062dbb72e66eab24cc6e155b6f56fdff2)

Author SHA1 Message Date
Björn Lindqvist 978009e484 html.parser.printer: fixed to use repeated write calls instead of surround 2013-08-05 09:56:44 -07:00
Björn Lindqvist 1ca18b215f html.parser.printer: remove printer symbol 2013-08-05 09:56:44 -07:00
Björn Lindqvist 00f82ae5f0 html.parser.printer: unit tests 2013-08-05 09:56:44 -07:00
Björn Lindqvist aef2e02c0b html.parser.printer: explaining comment 2013-08-05 09:56:43 -07:00
Björn Lindqvist 68381dd571 html.parser.printer: reasonable tree-structured formatting with prettyprint-html 2013-08-05 09:56:43 -07:00
John Benediktsson 4afec99e97 html.parser.analyzer: fix help-lint errors. 2013-04-24 13:39:36 -07:00
bjourne@gmail.com dd32064691 Docs moved to own file and ? instead of if. 2013-04-24 13:35:04 -07:00
bjourne@gmail.com 1b91f4dc23 html.parser.analyzer: make find-between* work on nested tags. 2013-04-24 13:35:04 -07:00
Doug Coleman adb410582c html.elements: Use CONSTANT: 2012-07-24 14:16:17 -07:00
John Benediktsson 559b5bfa5b using the new H{ } make. 2012-07-19 09:50:09 -07: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
Doug Coleman edba5f2bbe Fix bug in html.parser.analyzer 2010-10-25 12:50:43 -05:00
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
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04: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
Phil Dawes c1d08d213f Added thead, tfoot to html 2009-06-30 16:26:51 +01: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 b206c5a2d1 Finishing getting rid of html.elements from basis 2009-02-06 10:54:13 -06: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 b1401423d3 new accessors 2008-09-02 13:05:49 -05:00
Doug Coleman 85bd1ef666 new accessors 2008-09-01 18:44:20 -05:00
Slava Pestov 6ead724b25 Fixing bugs 2008-08-29 04:23:39 -05:00
Slava Pestov bcaade8005 Fixing libraries for stack checker changes 2008-08-27 19:27:06 -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
Slava Pestov 6dff5fcc6a Cleanup 2008-08-04 15:03:54 -05:00
Eduardo Cavazos 5cd794f903 html.streams.tests: Update tests for color objects 2008-08-04 11:02:17 -05:00
Eduardo Cavazos 9d1f741893 html.streams: Use color objects 2008-08-04 11:01:55 -05:00
Slava Pestov de9183bb88 HTML components tests fixed 2008-07-16 05:24:16 -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 7b78269051 Merge branch 'master' of git://factorcode.org/git/factor 2008-07-04 18:23:24 -05:00
Slava Pestov b36e06d0d6 Builtinn types now use new slot accessors; tuple slot type declaration work in progress 2008-06-28 02:36:20 -05:00
Doug Coleman 6fa3b93868 Merge branch 'master' of git://factorcode.org/git/factor 2008-06-27 19:41:03 -05:00
Slava Pestov 6e0d35e615 Split up huge parser vocabulary 2008-06-25 03:25:08 -05:00
Doug Coleman 21b47bdc3c Merge branch 'master' of git://factorcode.org/git/factor 2008-06-18 12:04:43 -05:00
Slava Pestov db6b24614f Improving user-admin tool 2008-06-18 03:26:50 -05:00
Slava Pestov c19d83e13f Use fry in html 2008-06-18 00:35:34 -05:00
Slava Pestov 56bb1604f0 Fix load errors 2008-06-15 18:29:10 -05:00
Slava Pestov 0ab3f1f436 New html.forms abstraction fixes some problems; clean up some code 2008-06-15 02:38:12 -05:00
Slava Pestov bd7bee867b Fix test failure 2008-06-14 04:18:29 -05:00
Slava Pestov 149e4345c6 Add sanity checks 2008-06-14 04:01:16 -05:00
Doug Coleman e92980b9ad fix compiler errors 2008-06-14 00:41:48 -05:00
Slava Pestov 2c3121cf47 Add support for some attributes to farkup tag 2008-06-14 00:31:10 -05:00
Slava Pestov fbd799f0a2 Fix test failures 2008-06-13 02:14:35 -05:00
Doug Coleman c094215b2c Merge branch 'master' of git://factorcode.org/git/factor 2008-06-12 13:37:21 -05:00