Commit Graph

169 Commits (c83d6ac411d27d4decf8b4ff73b56f313fe26e0f)

Author SHA1 Message Date
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
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Doug Coleman a94774f8e8 add circular-while, optimize circular a bit 2009-12-06 17:20:46 -06:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman b71d86a1dc update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Doug Coleman aec676edec use surround/glue instead of 3append 2009-11-12 03:01:09 -06:00
Joe Groff 3fbe722561 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 b0362f8011 fix help-lint failures 2009-10-28 14:05:23 -05:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Slava Pestov 951e3e9c83 delete-nth -> remove-nth! 2009-10-27 23:41:57 -05:00
Joe Groff 935c0797c3 update existing code for [let change 2009-10-27 22:05:37 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 7c83ccf6b0 xml.syntax: fix help lint 2009-09-23 17:56:19 -05:00
Doug Coleman a4524874f4 remove <" from multiline tests 2009-09-23 16:24:32 -05:00
Doug Coleman faf54ce8e2 fix yet more multiline tests 2009-09-23 12:57:37 -05:00
Doug Coleman eceed177d6 replace usages of <" with """ 2009-09-20 22:42:40 -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
Bruno Deferrari d8434ceed2 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 8bf389e9b5 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