Commit Graph

96 Commits (41ba552e97a969a461b58e6f06fe451e4e176ff9)

Author SHA1 Message Date
Doug Coleman d2a730dda8 peg.ebnf: Throw errors not strings. 2013-03-29 09:51:26 -07:00
John Benediktsson 48a8ca7b11 peg.search: create a stream-tree-write. 2013-03-24 17:29:48 -07:00
Doug Coleman a9c313c8c8 peg.ebnf: Regexp fail. 2013-03-23 16:30:57 -07:00
Doug Coleman f69ee71327 peg.ebnf: Rename tokenizer in peg.ebnf, fix whitespace. 2013-03-23 16:27:00 -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
Doug Coleman 34650968e4 peg: Qualify use of replace. Fix some spacing. 2013-01-03 18:33:48 -08:00
John Benediktsson 97c6617c92 peg.ebnf: fix usage of replace. 2013-01-03 18:13:20 -08:00
John Benediktsson e654e4afd9 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson edd279d4fa "filter empty?" is "any? not". 2012-07-19 16:33:01 -07:00
John Benediktsson eb2967c56c more cleanup of with-scope. 2012-07-19 15:11:33 -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 e4b4f1522a using if-zero in more places. 2012-07-16 15:45:21 -07:00
Doug Coleman 96da8df16e Rename class to class-of 2011-10-24 06:47:42 -05:00
Doug Coleman c7eae8402d Fix help-lint for editors, peg.ebnf 2011-10-19 00:57:20 -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
John Benediktsson 1097e59026 Cleanup more lint warnings. 2011-10-16 13:01:58 -07:00
John Benediktsson fd853f9958 Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson eb55f8575c Cleanup more lint warnings. 2011-10-14 12:31:46 -07:00
John Benediktsson 463c7292d1 Fix M: stack effects. 2011-10-13 16:41:17 -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 248b0df6fc Spelling fixes to documentation. 2011-08-26 16:20:31 -07:00
Joe Groff b94bced2e4 peg.ebnf: add rule~ syntax to discard a matching subrule from the AST; document (grouping) and {grouping} syntax 2011-06-06 16:32:19 -07:00
Keita Haga 2c324b14df In several documentation, remove whitespace before or after the colon or period 2011-02-10 01:51:13 +09:00
Keita Haga 0fb40ff3a5 peg.ebnf: fix minor typo in docs 2011-01-20 23:39:30 +09:00
Keita Haga 035e6eacef peg.ebnf: fix a couple of typos in docs 2011-01-15 01:11:37 +09:00
Slava Pestov 3961c4f657 peg.ebnf: minor fix 2010-07-26 12:40:32 -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
Doug Coleman 03f5dfc14d C-style identifiers in peg.ebnf 2010-05-03 23:52:37 -05:00
Doug Coleman ac2dd7c435 Allow - in peg.ebnf identifiers. Eating still not allowed... 2010-05-03 23:40:50 -05:00
Doug Coleman a5ae116fd9 Allow a-zA-Z0-9_ in identifiers for peg.ebnf 2010-05-03 23:36:29 -05: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 f2f80dadc7 Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -04:00
Daniel Ehrenberg 0f0571e48a Moving new-sets to sets 2010-02-26 16:01:01 -05:00
Slava Pestov 1f89dc505a effects.parser: throw a proper no-word error if effect references an unknown class word 2010-02-23 23:57:13 +13:00
Slava Pestov 880fb747fc Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Doug Coleman f29abf5740 use $subsections instead of $subsection 2009-11-18 16:40:18 -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 22a9be5ea5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman ae519868f7 over push -> suffix!, over push-all -> append! 2009-10-28 15:29:01 -05:00
Doug Coleman a57e990af7 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Joe Groff 33f373162d fix load errors from bootstrapping 2009-10-28 12:51:03 -05:00
Joe Groff 42303f4f4b update peg for [let change 2009-10-27 22:29:20 -05:00
Slava Pestov f6c994da8c peg: fix unit test failures 2009-10-19 06:01:20 -05:00
Slava Pestov 72babc089b peg.ebnf: fix 2009-10-19 04:05:26 -05:00
Slava Pestov e882db0524 peg.ebnf: turn $unchecked-examples into $examples 2009-10-19 03:44:50 -05:00
Chris Double 3fbba4df28 peg.ebnf doc fixes to appease help.lint 2009-10-19 18:26:19 +13:00
Chris Double 99a655830f Tweak what EBNF words are private 2009-10-19 18:14:13 +13:00
Chris Double cfae18bcd2 Basic peg.ebnf docs 2009-10-19 18:12:24 +13:00
Chris Double 980ab7a861 Fix cpu.8080 bitrot 2009-10-15 17:33:44 +13:00
Doug Coleman 47fab85a00 replace usages of <" with """ 2009-09-20 22:42:40 -05:00