Slava Pestov
30171f41df
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-19 14:53:41 -05:00
Slava Pestov
f78b626b58
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-19 14:40:09 -05:00
Slava Pestov
3591ed402d
Simplify vocab.loader even further
2008-03-19 14:39:08 -05:00
Slava Pestov
005de25156
Cocoa UI cleanup
2008-03-19 14:25:53 -05:00
Slava Pestov
ea7301062d
Merge git://double.co.nz/git/factor
2008-03-19 14:18:26 -05:00
Slava Pestov
3d43c0350e
Fix USING: in alien.factor
2008-03-19 13:26:39 -05:00
Slava Pestov
e826f1fe4a
Merge branch 'master' of git://factorcode.org/git/littledan
2008-03-19 13:23:55 -05:00
Slava Pestov
8f521b07f2
Merge branch 'master' of git://pgdn.org/factor
2008-03-19 13:20:36 -05:00
Chris Double
97b58580a7
Add expression evaluator example for EBNF
2008-03-20 03:30:53 +13:00
Chris Double
92d8140d87
Change ebnf-action to properly nest with attached parser
...
This allows removal of last-parser hack. Syntax of EBNF changes though.
Now an action must attach to a group:
<EBNF foo = (a b c) [[ ...act on group... ]] EBNF>
2008-03-20 03:05:40 +13:00
Chris Double
65fabeec11
remove => action and replace it with [[ code ]] in EBNF
...
Previously the action had to be a factor word and could only appear at the end of a rule:
: aword ( ast -- ast ) drop V{ 1 2 } ;
<EBNF foo = "a" "b" => aword EBNF>
Now actions can appear anywhere after an element, and can be any factor code between [[ ... ]] delimiters:
<EBNF foo = "a" "b" [[ drop V{ 1 2 } ]] EBNF>
<EBNF foo = "a" [[ drop 1 ]] "b" [[ drop 2 ]] EBNF>
Unfortunately since this means the ebnf>quot code uses the equivalent of eval, it no longer compiles nicely since it can't be inferred. The generated parsers however do compile.
2008-03-20 02:16:30 +13:00
Chris Double
c0b7bdf823
Add *, + and ? to list of non-allowed ebnf identifier characteres
2008-03-20 01:25:57 +13:00
Chris Double
82d54d3776
EBNF syntax change
...
[ ... ] is now ( ... )?
{ ... } is now ( ... )*
Added ( ... )+
2008-03-20 01:18:09 +13:00
Slava Pestov
36c94f357c
Fix shaker's libc stripping
2008-03-19 02:43:36 -05:00
Slava Pestov
de4b699d98
Documentation update
2008-03-19 02:43:23 -05:00
Chris Double
64135b73e1
Add support for ensure-not and parsing any single character to EBNF
...
This allows, for example:
foo = {!("_" | "-") .}
This will match zero or more of any character, except for _ or -
2008-03-19 19:15:52 +13:00
Joe Groff
11d28109cf
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-18 23:02:44 -07:00
Joe Groff
46c21e2580
Correct perms on windows/ tree
2008-03-18 23:02:21 -07:00
Joe Groff
ede3e068a0
Get COM interface working. Add IShellFolder interface to shell32.dll to play around with
2008-03-18 22:56:54 -07:00
Chris Double
208c88c449
Update pl0 for ebnf changes, and add more tests
2008-03-19 18:35:45 +13:00
Chris Double
eef6ae7827
Remove need for '.' to terminate rule lines in EBNF
2008-03-19 18:07:31 +13:00
Chris Double
9403d97e22
Add syntax-pack and grouped to ebnf refactoring
2008-03-19 17:52:22 +13:00
Chris Double
708d55fb8e
Add syntax word for ebnf
2008-03-19 17:37:08 +13:00
Chris Double
7578538122
Minor tidyup of ebnf
2008-03-19 17:34:47 +13:00
Chris Double
cc9a17b551
Use choice* and seq* in ebnf
2008-03-19 17:00:53 +13:00
Chris Double
4b37c9098e
Use multiline for parsing EBNF string
2008-03-19 16:54:42 +13:00
Slava Pestov
d04eb777ff
Update bootstrap code for loader changes
2008-03-18 21:45:04 -05:00
Slava Pestov
d3997fbe08
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-18 21:43:58 -05:00
Slava Pestov
848c340ae9
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-18 21:43:42 -05:00
Slava Pestov
993a647ccc
Parser fixes
2008-03-18 21:43:29 -05:00
Slava Pestov
da7f10804a
Refactor vocab loader
2008-03-18 20:27:09 -05:00
Slava Pestov
23dd1f3310
Fix usage typo
2008-03-18 20:24:39 -05:00
Slava Pestov
4ec88d6bc6
Fix tests typo
2008-03-18 20:24:29 -05:00
Slava Pestov
cb4974aa34
Fix fs-events issue
2008-03-18 18:17:25 -05:00
Slava Pestov
290883f0e4
Fix DLL"
2008-03-18 18:02:24 -05:00
Slava Pestov
f31c521c47
Assorted bug fixes
2008-03-18 17:46:25 -05:00
Daniel Ehrenberg
d496065f89
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-18 17:02:48 -04:00
Daniel Ehrenberg
b362175d43
Initial optimization of encodings
2008-03-18 17:01:14 -04:00
Slava Pestov
4b2368e99f
Fix io.unix.launcher unit test
2008-03-18 03:27:14 -05:00
Slava Pestov
65c74d8404
Fix macosx/ppc bootstrap
2008-03-18 02:37:31 -05:00
Slava Pestov
48d9419912
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-18 01:27:29 -05:00
Slava Pestov
6e7556242b
Comment out compilation unit stuff for now
2008-03-18 01:26:30 -05:00
Slava Pestov
296a20767f
Fix a race condition
2008-03-18 01:26:09 -05:00
Doug Coleman
880a3a2af4
before major refactoring
2008-03-17 14:14:04 -05:00
Doug Coleman
86221d57f3
fix cairo-demo
...
my commit did more than fix a using..oops
2008-03-17 09:03:24 -05:00
Slava Pestov
7bd91f68c9
Fix walker
2008-03-17 05:08:47 -05:00
Slava Pestov
d4be6ea98c
Working on HTTP server
2008-03-17 04:31:13 -05:00
Slava Pestov
604a895f99
Merge branch 'master' of git://factorcode.org/git/factor
2008-03-17 03:28:50 -05:00
Slava Pestov
9d2d1c5347
Fix serialize
2008-03-17 03:28:07 -05:00
Slava Pestov
7f11c9fe3a
Fix delegate
2008-03-17 03:27:41 -05:00