Commit Graph

196 Commits (2c67a5cd78e5dcffd7146e6fd0eb95f810a497e1)

Author SHA1 Message Date
John Benediktsson 25444ac7d8 Minor fix to make sure strings are produced. 2013-04-06 18:50:26 -07:00
John Benediktsson 9bdde31783 use concat instead of join. 2013-04-06 17:02:22 -07:00
John Benediktsson 535326e294 xml.errors: fix extra-attr to use an array. 2013-03-27 10:04:58 -07:00
John Benediktsson 58cf1738ca xml: use ERROR: 2013-03-24 14:24:28 -07:00
Doug Coleman fe408ed83e xml: Rename unclosed. 2013-03-23 23:08:15 -07:00
Doug Coleman 38f11415c8 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
John Benediktsson 6a349523a9 Use bl in more places. 2013-03-14 19:24:00 -07:00
John Benediktsson 07194b7a13 xml.traversal: adding deep-children>string. 2012-12-17 11:58:30 -08:00
Doug Coleman 2abbc85224 xml.syntax: Nested xml literals were not handled correctly. 2012-10-24 10:48:22 -07:00
John Benediktsson 695ce57b25 xml.tokenize: slight fix to reduce number of namespace lookups. 2012-09-11 14:46:45 -07:00
John Benediktsson 74857f621d xml.tokenize: minor speedups. 2012-08-24 15:16:27 -07:00
Doug Coleman ba51919e50 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 f682aefe8b xml.name: simpler parse-name makes benchmark 12% faster. 2012-08-23 18:07:25 -07:00
John Benediktsson db76e0b022 rename some words to x>sequence and sequence>x. 2012-07-23 21:28:38 -07:00
John Benediktsson e8e163c15d xml.errors: using code generation to make XML error classes. 2012-07-20 13:39:09 -07:00
John Benediktsson b05a59afd8 more use of H{ } make. 2012-07-19 11:24:45 -07:00
Doug Coleman 9a220ef78c namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``. 2012-07-19 00:02:47 -07:00
John Benediktsson 32760a247e xml.data: some lint fixes. 2012-07-12 19:24:18 -07:00
John Benediktsson 20fdbb82b8 xml: 10-12% faster benchmark through cleanup and minor refactoring. 2012-07-12 19:06:37 -07:00
John Benediktsson 8b3f91b0a0 xml.data: eliminate unions in favor of maybe. 2012-07-12 19:00:12 -07:00
John Benediktsson 84de393d16 xml.traversal: use filter-as words. 2012-07-11 14:19:07 -07:00
Samuel Tardieu ff9831f92f add tag-named-with-attr to xml.traversal 2011-12-16 16:07:01 -08:00
Joe Groff 9f5820fc23 xml.entities: remove USING: values 2011-11-29 12:21:08 -08:00
Joe Groff 755484ce63 remove values vocab 2011-11-28 21:26:33 -08:00
Doug Coleman a3447b49b9 combinators.smart: Fix reduce-outputs, rename quot*n to call-n, rewrite more macros as combinators. 2011-11-28 12:41:50 -08:00
Joe Groff eee483654a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman f05e33fa37 Fix all failures in the linux64 build email 2011-10-24 19:33:09 -07:00
John Benediktsson f2741b34a4 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 2530cf5657 Rename complete-effect to scan-effect 2011-10-17 10:25:27 -07:00
John Benediktsson 7494418bf8 More lint cleanups. 2011-10-16 19:33:16 -07:00
John Benediktsson 1097e59026 Cleanup more lint warnings. 2011-10-16 13:01:58 -07:00
John Benediktsson a015ed5b4b Remove trim-whitespace in favor of [ blank? ] trim. 2011-10-14 13:22:28 -07:00
John Benediktsson 59fe95c9e9 sequences: define ?first and ?second. 2011-10-13 12:53:46 -07:00
John Benediktsson 8259cb05ba xml.char-classes: fix upper bound. 2011-10-02 15:30:41 -07:00
John Benediktsson c78bddcc20 xml: 25% (or more) faster.
Main performance improvements from:
- improving text? check performance
- fewer "spot get char>>" in skip-until
- better string matching (don't use circular-string sequence=)
2011-09-30 12:47:38 -07:00
Doug Coleman 300138eb4d Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
2011-09-29 11:28:28 -07:00
John Benediktsson e441a4c923 Removing "to:" syntax from values.
Squashed commit of the following:

commit 18fef6bfa59f71dcb63b439f631c735848a9bbbb
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Mon Sep 26 11:02:26 2011 -0700

    vocabs.metadata: revert mistaken change.

commit 496b103b54034ea953882a039c08847d0eda0bb4
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Sun Sep 25 19:03:54 2011 -0700

    values: Removing "to:" syntax.
2011-09-26 11:08:26 -07:00
John Benediktsson cd70a30cfc xml.tests: fix encoding test for latin5. Fixes #144. 2011-09-19 16:28:18 -07:00
Slava Pestov 965daebb2b xml.*: remove unnecessary dependencies on xml.writer 2011-09-01 22:31:45 -07:00
John Benediktsson 248b0df6fc Spelling fixes to documentation. 2011-08-26 16:20:31 -07:00
John Benediktsson 8928fe2e17 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
John Benediktsson 3675ff3162 xml.writer: fix some docs. 2011-03-08 16:50:12 -08:00
Slava Pestov bf81451e00 xml.errors: split off xml.errors.debugger so that deployed apps that use XML are ~100kb smaller 2011-01-29 00:09:09 -05:00
Slava Pestov 61804879fc xml.traversal: remove unused dependency on debugger 2011-01-29 00:07:56 -05:00
Keita Haga 5c9475bfbc xml.data: insert a space after a comma in description of contained class 2011-01-28 11:48:07 +09:00
Keita Haga aeb151f2ff xml: fix typo in docs 2011-01-14 22:11:08 +09:00
Jeremy Hughes 91dec15767 xml.traversal: tags-with-attr fix 2010-09-14 18:09:17 +12:00
Joe Groff 276dd05905 xml.syntax: parse <-variable->s with parse-word instead of search so the no-word error gets properly raised when variable doesn't exist 2010-06-08 12:18:06 -07:00
Doug Coleman 7a41f5da2e Fix using list in sequences.unrolled, keys/values was not appropriate in several locations 2010-05-21 15:28:05 -05:00
Doug Coleman e559f1470b Use keys/values where appropriate 2010-05-21 12:48:04 -05:00