Commit Graph

187 Commits (896d75e305696692546fe257e4712f4e82522159)

Author SHA1 Message Date
John Benediktsson 837568c793 xml.tokenize: slight fix to reduce number of namespace lookups. 2012-09-11 14:46:45 -07:00
John Benediktsson 1455a5fb17 xml.tokenize: minor speedups. 2012-08-24 15:16:27 -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 2fef140e79 xml.name: simpler parse-name makes benchmark 12% faster. 2012-08-23 18:07:25 -07:00
John Benediktsson 5c76cbb421 rename some words to x>sequence and sequence>x. 2012-07-23 21:28:38 -07:00
John Benediktsson 861c6a29ce xml.errors: using code generation to make XML error classes. 2012-07-20 13:39:09 -07:00
John Benediktsson 90d0951ada more use of H{ } make. 2012-07-19 11:24:45 -07:00
Doug Coleman 42f4dc36b2 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 7552cf1c8e xml.data: some lint fixes. 2012-07-12 19:24:18 -07:00
John Benediktsson c9da03fe6d xml: 10-12% faster benchmark through cleanup and minor refactoring. 2012-07-12 19:06:37 -07:00
John Benediktsson 3c54f12789 xml.data: eliminate unions in favor of maybe. 2012-07-12 19:00:12 -07:00
John Benediktsson ab9b1ef25d xml.traversal: use filter-as words. 2012-07-11 14:19:07 -07:00
Samuel Tardieu 46a00c4ce2 add tag-named-with-attr to xml.traversal 2011-12-16 16:07:01 -08:00
Joe Groff a8cb83cb4f xml.entities: remove USING: values 2011-11-29 12:21:08 -08:00
Joe Groff 1ef6fc03e6 remove values vocab 2011-11-28 21:26:33 -08:00
Doug Coleman 41e4c48647 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 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman 51c033a1f6 Fix all failures in the linux64 build email 2011-10-24 19:33: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 f21fee3b73 Rename complete-effect to scan-effect 2011-10-17 10:25:27 -07:00
John Benediktsson 81714b8dc3 More lint cleanups. 2011-10-16 19:33:16 -07:00
John Benediktsson c8732657b7 Cleanup more lint warnings. 2011-10-16 13:01:58 -07:00
John Benediktsson 2b21f01918 Remove trim-whitespace in favor of [ blank? ] trim. 2011-10-14 13:22:28 -07:00
John Benediktsson 3207244c60 sequences: define ?first and ?second. 2011-10-13 12:53:46 -07:00
John Benediktsson 32111a1095 xml.char-classes: fix upper bound. 2011-10-02 15:30:41 -07:00
John Benediktsson 81e3bef507 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 76580da5d5 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 baac978767 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 5bef322c6a xml.tests: fix encoding test for latin5. Fixes #144. 2011-09-19 16:28:18 -07:00
Slava Pestov 418ded51c1 xml.*: remove unnecessary dependencies on xml.writer 2011-09-01 22:31:45 -07:00
John Benediktsson 9f34c9c676 Spelling fixes to documentation. 2011-08-26 16:20:31 -07:00
John Benediktsson d58bc08aa0 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
John Benediktsson 64e9e179b2 xml.writer: fix some docs. 2011-03-08 16:50:12 -08:00
Slava Pestov 09848ab420 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 e837ebee81 xml.traversal: remove unused dependency on debugger 2011-01-29 00:07:56 -05:00
Keita Haga 48ec189c99 xml.data: insert a space after a comma in description of contained class 2011-01-28 11:48:07 +09:00
Keita Haga 60481f7871 xml: fix typo in docs 2011-01-14 22:11:08 +09:00
Jeremy Hughes 3806f02111 xml.traversal: tags-with-attr fix 2010-09-14 18:09:17 +12:00
Joe Groff dd71d20e4e 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 01e14d1430 Fix using list in sequences.unrolled, keys/values was not appropriate in several locations 2010-05-21 15:28:05 -05:00
Doug Coleman bdecd564a3 Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04: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 b4bf7b1d9b Making xml literal inverse behavior only load if inverse is loaded 2010-03-18 02:07:47 -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 e7968ceffc mop up compiler errors from macosx load-all 2010-03-09 00:56:07 -08:00
Daniel Ehrenberg 6298203b4c Making all of basis and extra unambiguous for sets/namespaces 2010-02-26 16:28:38 -05:00
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Slava Pestov 7155447aed stack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was coming up a lot 2010-01-15 08:04:14 +13:00