chris.double
ee67a9a92f
parser-combinators: refactor <*> and allow for promises to be implicitly forced in parsing
2006-10-06 02:53:55 +00:00
chris.double
080430a386
parser-combinators: refactor <:&> and <&:>
2006-10-06 02:46:02 +00:00
chris.double
c040050b52
parser-combinators: refactor <@ and some
2006-10-06 02:43:56 +00:00
chris.double
6b57e8ced7
parser-combinators: unit tests working with new framework
2006-10-06 01:39:08 +00:00
chris.double
0ea3720a33
parser-combinators: refactor 'sp' and 'just'
2006-10-06 01:28:01 +00:00
chris.double
87c6e27a2d
parser-combinators: refactor satisfy, <&> and <|>
2006-10-06 01:18:35 +00:00
chris.double
ea7cc87445
parser-combinators: refactor token and satisfy parsers
2006-10-05 22:52:26 +00:00
chris.double
42d677bbd4
parser-combinators: refactor <& and &>
2006-10-05 11:25:20 +00:00
chris.double
ab7ff8f783
parser-combinators: refactor <@ combinator
2006-10-05 11:14:31 +00:00
chris.double
11377d538d
parser-combinators: reimplement <&>
...
This refactoring removes the 3 word implementation of <&> and replaces it with bbetter lazy list functionality. Although parser combinators will be rewritten this algorithm for <&> will remain mostly the same.
2006-10-05 11:03:46 +00:00
chris.double
267108e601
parser-combiantors: update to work with lazy-lists changes
2006-09-14 01:48:38 +00:00
slava
b4291dd6c6
Module system changes and some small fixes
2006-09-06 21:01:38 +00:00
slava
4e351ee5b7
Stack effect comments are not permitted inside word definitions
2006-09-03 23:28:26 +00:00
chris.double
27b5c81651
complete json parser
2006-08-07 11:06:22 +00:00
chris.double
855b7009c8
parser-combinators: Fix <:&> and add <&:>
2006-08-07 04:35:48 +00:00
chris.double
be607eae1f
Part 1 of getting space invaders bit rot fixed
2006-08-02 06:28:07 +00:00
chris.double
e4ca1e2bd3
fix parser combinator bit rot
2006-08-02 05:03:47 +00:00
chris.double
5bb0a8bee3
replace parser-combinators sequence handling with factor sequences
2006-08-02 03:47:57 +00:00
chris.double
b868dfe645
Make parser-combinators work with provide/require
2006-08-02 03:47:26 +00:00
matthew.willis
707d59d366
Relocated lazy-lists as top-level contrib
2006-07-22 21:56:17 +00:00
matthew.willis
01fa073af5
vocab rename
2006-07-22 21:50:36 +00:00
matthew.willis
fc4532ee7c
Made the force-promise pattern into a word, removed delay, corrected misc errors.
2006-07-22 20:48:42 +00:00
matthew.willis
7450d50027
Fix indentation, change naming scheme, take out curry's, move from quots to arrays (by way of vectors) and general proofreading and testing.
2006-07-22 10:52:22 +00:00
matthew.willis
8cb5cf42b2
Added tests for the lazy list library
2006-07-21 23:45:06 +00:00
matthew.willis
1bd40d5304
Moved some examples into lazy.factor, rewrote examples
2006-07-21 23:42:18 +00:00
matthew.willis
be084f8e9d
Heavy edits to lazy.factor
2006-07-21 23:39:35 +00:00
slava
593165784b
Remove unswons word
2006-05-09 15:30:26 +00:00
chris.double
d705b02120
add html documentation for contrib libraries
2006-02-09 20:07:19 +00:00
slava
9e5b6424a1
Initial revision
2006-02-01 02:31:53 +00:00
Trent Buck
8914e9b640
Use run-resource for code distributed with Factor; run-file is for user code.
2006-01-21 06:04:03 +00:00
Trent Buck
0b721bb542
Don't compile contrib/ files until the very end; reduces compile time considerably.
2006-01-20 01:27:38 +00:00
Slava Pestov
60a147bbfa
more I/O docs; added missing files from twb's patch
2006-01-19 08:03:32 +00:00
Slava Pestov
d0d12e9462
many contrib/ fixes by Trent Buck
2006-01-18 19:06:34 +00:00
Chris Double
9b5f6d1513
parser-combinators: fix epsilon usage
2006-01-18 03:18:31 +00:00
Chris Double
64e326e56d
Replace use of '2list' in parser combinators code. parser-combinators
...
are still broken though due to an error calling the 'parens' test. This
used to work in 0.78...
2006-01-13 12:52:21 +00:00
Chris Double
c6d9341f13
Update contributed code I wrote, plus dlists written by eiz, to use if instead of ifte.
2005-09-25 06:03:36 +00:00
Slava Pestov
45109c1a0a
major cleanup
2005-08-25 19:27:38 +00:00
Chris Double
15d30888d6
fix parser combinator tests to work with str>number change
2005-08-24 00:01:39 +00:00
Chris Double
1743df1bd4
Link to original parser combinators document for the clean programming language.
2005-08-22 01:45:11 +00:00
Chris Double
f5f50c1347
Tests removed from main parser-combinators source file and added to a
...
tests.factor using Factor unit tests.
2005-08-17 07:03:40 +00:00
Chris Double
3948beb8f0
3list no longer exists. Fix parser combinators to work around this.
2005-08-04 01:19:30 +00:00
Chris Double
a1dba7ddc7
Changes to get parser-combinators working with 0.76
2005-07-25 22:35:29 +00:00
Slava Pestov
f1b23d66b7
merged streams, stdio and files into io vocabulary
2005-06-19 21:50:35 +00:00
Chris Double
c93a28ffa2
get parser-combinator code working with latest factor sequence changes
2005-05-18 22:54:59 +00:00
Chris Double
85b8508e58
fix documentation error in parser-combinators.
2005-05-01 03:06:38 +00:00
Chris Double
11c604d865
fix parser-combinator documentation
2005-04-30 04:17:02 +00:00
Chris Double
3ecf223a68
more sequence code fixes for parser combinators
2005-04-30 04:14:48 +00:00
Chris Double
aa5b8fe510
Get lazy lists and parser combinators working with new factor.
2005-04-30 03:20:11 +00:00
Chris Double
e3e434e649
Changes to cont-responder:
...
added start of a tutorial
added numbers game example
add cont-responder testing functions
minor refactoring of cont-responder
eval-responder now works again!
Changes to parser-combinators:
modify str-head and str-tail usage for their changed stack effects
2004-11-20 21:32:02 +00:00
Chris Double
9efc607ffd
Get continuation responder and parser combinators working with recent
...
factor changes. Todo example is currently broken.
2004-11-02 00:02:33 +00:00