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
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
Doug Coleman
8da9d0f203
rename peek -> last and update all usages
2009-05-25 16:38:33 -05:00
Slava Pestov
80d6233913
Fix even more usings
2009-05-16 10:45:17 -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
Slava Pestov
d7db5edadc
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
Slava Pestov
b1bcc44dd5
Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist
2009-05-13 22:15:48 -05:00
Slava Pestov
6f03366e2b
Rename enable/disable-compiler to enable/disable-optimizer, and add with-optimizer and without-optimizer combinators
2009-05-01 05:52:05 -05:00
Slava Pestov
3353a777f7
Fixing some unit test failures
2009-04-22 07:05:00 -05:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Doug Coleman
7a1841f59b
(( -- )) eval -> eval( -- )
2009-04-17 15:49:21 -05:00
Doug Coleman
dba4c0d589
fixing compiler errors in basis
2009-04-17 12:46:04 -05:00
Slava Pestov
99b8400e56
Documentation updates
2009-04-06 03:00:46 -05:00
Chris Double
087a7acfba
Fix peg left recursion handling
2009-03-31 23:59:52 -05:00
Doug Coleman
6b6de2b8aa
refactor some error handling in peg, more unit tests
2009-03-30 19:42:04 -05:00
Slava Pestov
f8d7fec17f
Faster PEG compile times; inline less, use execute( instead
2009-03-23 19:23:18 -05:00
Slava Pestov
c0154c1391
Change (:) to parse effect immediately, and remove ( parsing word
2009-03-21 03:17:35 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
f1197fe327
peg.ebnf gives better stack effects
2009-03-16 03:29:04 -05:00
Slava Pestov
7ed56a3cef
Make peg compilation infer
2009-03-14 00:34:04 -05:00
Slava Pestov
9696661ef5
Use 1|| instead of 0|| where appropriate in peg.ebnf to remove some stack shuffling
2009-03-12 21:21:32 -05:00
Slava Pestov
1951d739a0
Stack effect declarations are mandatory on all words now
...
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
Slava Pestov
6b25e99470
Add summary for heaps more vocabs
2009-02-16 21:05:13 -06:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -06:00