Commit Graph

166 Commits (1097e59026a94bea11f3241697fc82f51be10221)

Author SHA1 Message Date
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
Slava Pestov c0f39aa99d Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Slava Pestov d2d466de29 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 d9878f81d7 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Daniel Ehrenberg c2f1ad0024 Making xml literal inverse behavior only load if inverse is loaded 2010-03-18 02:07:47 -04:00
Daniel Ehrenberg 1b61e2e5cf 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 906a86ae2d mop up compiler errors from macosx load-all 2010-03-09 00:56:07 -08:00
Daniel Ehrenberg 142f530f1b Making all of basis and extra unambiguous for sets/namespaces 2010-02-26 16:28:38 -05:00
Slava Pestov 74891bc02a Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Slava Pestov ce05955693 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
Slava Pestov 880fb747fc Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Doug Coleman 45091e52ad add circular-while, optimize circular a bit 2009-12-06 17:20:46 -06:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman b1e83cdb33 update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Doug Coleman 995952389b use surround/glue instead of 3append 2009-11-12 03:01:09 -06:00
Joe Groff c6761710a6 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Joe Groff c084c59af5 fix help-lint failures 2009-10-28 14:05:23 -05:00
Doug Coleman a57e990af7 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Slava Pestov b8a51c7eb0 delete-nth -> remove-nth! 2009-10-27 23:41:57 -05:00
Joe Groff 8b6665c57e update existing code for [let change 2009-10-27 22:05:37 -05:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 1dc1392e9f xml.syntax: fix help lint 2009-09-23 17:56:19 -05:00
Doug Coleman 073c6cadd6 remove <" from multiline tests 2009-09-23 16:24:32 -05:00
Doug Coleman 2b27ce3c0b fix yet more multiline tests 2009-09-23 12:57:37 -05:00
Doug Coleman 47fab85a00 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Doug Coleman d1ce837569 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
Bruno Deferrari 5e6e8418ef basis.xml: A fix for <pull-xml> (calls init-parser so that the spot variable is binded) 2009-07-22 20:49:57 -03:00
Bruno Deferrari 6cf898ea26 basis.xml: Add test to check that pull-event doesn't raise an exception when called on a pull-xml object 2009-07-22 20:48:38 -03:00
Doug Coleman 8da9d0f203 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Slava Pestov ba04d5af1e Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov daec154817 Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00