Doug Coleman
c1c9f5eddd
Merge git://spitspat.com/git/factor
2007-12-27 16:39:33 -06:00
Doug Coleman
c6ce216e03
Add ?first .. ?fourth to sequences.lib
2007-12-27 16:38:54 -06:00
Slava Pestov
9c1454ef68
Rename real/imaginary slots of complex to real-part/imaginary-part to avoid clashing with the real class word; fix bug where redefining a generic as a class leaves the word in a weird state
2007-12-27 17:26:39 -05:00
Daniel Ehrenberg
05b76f181f
Extra/trees changes
2007-12-27 13:56:03 -05:00
Samuel Tardieu
caa2a606c2
Use math.primes in project Euler problems
2007-12-27 16:52:19 +01:00
Samuel Tardieu
e17a77f5cd
New module math.primes.factors
2007-12-27 16:52:18 +01:00
Samuel Tardieu
694dd297ad
New module math.primes
2007-12-27 16:52:16 +01:00
Samuel Tardieu
db6dbc5f16
Implement lreduce in lazy-lists
2007-12-27 16:01:28 +01:00
Samuel Tardieu
779f1ba01d
Use related-words in lazy-lists documentation
2007-12-27 16:01:27 +01:00
Samuel Tardieu
3662ed8f0b
Use s> and >s instead of r> and >r to avoid confusion
2007-12-27 15:17:34 +01:00
Slava Pestov
318b5f40c8
Update unit tests to use must-infer
2007-12-26 22:16:14 -05:00
Samuel Tardieu
76c76b81ed
Simplify lazy-append nil? word
...
lazy-append tuples are always built using lappend. If list1 is nil, then
list2 is returned, hence nil? on a lazy-append object is always false.
2007-12-27 03:42:19 +01:00
Samuel Tardieu
0bf5c6bf0f
Simplify lazy-while and lazy-until constructs
2007-12-27 03:36:38 +01:00
Slava Pestov
b810e92456
Move optimizer to extra/
2007-12-26 21:21:12 -05:00
Slava Pestov
f53fa196ac
New must-infer word; \ foo must-infer asserts that foo's declared effect matches its inferred effect, put this in your unit tests
2007-12-26 20:54:38 -05:00
Slava Pestov
612b2bf78c
Removed <uninterned>
2007-12-26 20:41:02 -05:00
Slava Pestov
93e1bdfcd7
Simplify JIT, fix tuples unit tests
2007-12-26 20:02:41 -05:00
Slava Pestov
1b9e04fdc5
Deferred words are now compound words
2007-12-26 17:28:34 -05:00
Samuel Tardieu
4eb7aad50b
Use math.algebra to solve project Euler problem 134
2007-12-26 23:08:43 +01:00
Samuel Tardieu
c4529fb557
Add math.algebra module with some useful words.
...
- ext-euclidian implements the extended Euclidian algorithm
- ring-inverse computes an inverse in a Z/nZ ring
- chinese-remainder solves a multi-constraints modular equation
2007-12-26 23:08:15 +01:00
Samuel Tardieu
9f0fb715ab
Factor solution to project Euler problem 134
2007-12-26 21:44:22 +01:00
Samuel Tardieu
aaa4b2a62f
Do not use Eratosthene sieve if n < 1e6 since we have a static primes list
2007-12-26 20:35:35 +01:00
Aaron Schaefer
0dfddab0f6
Remove unnecessarily complicated PE022 solution
2007-12-26 09:06:52 -05:00
Aaron Schaefer
994fe7c142
Solution to Project Euler problem 22
2007-12-26 02:25:10 -05:00
Aaron Schaefer
2ab01a8f25
Fix amicable-pair? false positives
2007-12-25 15:08:37 -05:00
Daniel Ehrenberg
d5baea215d
Splay tree fixes
2007-12-25 02:28:55 -05:00
Aaron Schaefer
f2cf2bc158
Solution to Project Euler problem 21
2007-12-25 00:13:01 -05:00
Aaron Schaefer
5b87577f91
Solution for Project Euler problem 20
2007-12-24 21:54:39 -05:00
Daniel Ehrenberg
2bbf9f3297
Merge branch 'for-slava' of git://www.rfc1149.net/factor
2007-12-24 21:07:50 -05:00
Daniel Ehrenberg
18f85fbaf3
Merge branch 'master' into trees
2007-12-24 21:04:59 -05:00
Daniel Ehrenberg
5917e58c86
Fixed XML bug which made everything stop compiling
2007-12-24 20:48:29 -05:00
Slava Pestov
6814e07f49
Unit test fixes
2007-12-24 19:40:09 -05:00
Slava Pestov
41fc4ea84e
forget-vocab and forget-source now call with-compilation-unit
2007-12-24 17:32:41 -05:00
Slava Pestov
0052e129fd
Clean up class definition recording
2007-12-24 17:18:26 -05:00
Aaron Schaefer
319d96384e
Solution to Project Euler problem 19
2007-12-24 16:29:04 -05:00
Daniel Ehrenberg
85a5beed74
Adding sequences.deep
2007-12-24 13:20:52 -05:00
Aaron Schaefer
2aa9dc9dde
Use Letter? instead of alpha? on euler017a
2007-12-24 13:07:46 -05:00
Aaron Schaefer
207e752464
Typo on Project Euler USING math.ranges
2007-12-24 13:01:11 -05:00
Aaron Schaefer
026a646b78
Merge /Applications/factor
2007-12-24 12:48:05 -05:00
Aaron Schaefer
37f42bb2fc
Alternate solution for Project Euler problem 17
...
Used the new vocab math.text and a string buffer.
2007-12-24 04:36:40 -05:00
Aaron Schaefer
50c3b5de14
Solutions to Project Euler problems 18 and 67
...
Added appropriate words to common.factor and got rid of number>digits for the time being.
2007-12-24 04:32:19 -05:00
Daniel Ehrenberg
d830ed9314
extra/tuple-syntax--named tuple slot literals
2007-12-24 01:58:13 -05:00
Daniel Ehrenberg
ee8932b888
Merge git://projects.elasticdog.com/git/factor
2007-12-24 00:37:43 -05:00
Aaron Schaefer
5fd3d34302
New math.text vocab converts numbers to English
2007-12-24 00:06:53 -05:00
Daniel Ehrenberg
0e13e2e92c
Fixing XML bug
2007-12-23 23:21:44 -05:00
Aaron Schaefer
fc403b373b
Declared sigma and count to be inline
2007-12-23 22:20:57 -05:00
Daniel Ehrenberg
0de2e117f5
Merge commit 'slava/master'
2007-12-23 16:09:21 -05:00
Daniel Ehrenberg
998213bb4b
Removed extra/xml/literal, which was added by accident
2007-12-23 14:58:56 -05:00
Daniel Ehrenberg
beaa4601ed
XML combinator refactoring
2007-12-23 14:57:39 -05:00
Samuel Tardieu
13d5ce70b0
Factor solution to project Euler problem 19
2007-12-23 13:45:46 +01:00
Slava Pestov
07a4022d62
Parser, definitions, source-files refactoring work in progress
2007-12-21 21:18:24 -05:00
Samuel Tardieu
8d268ba858
Factor solution to project Euler problem 67
2007-12-22 01:45:51 +01:00
Samuel Tardieu
621790aa7f
Factor solution to project Euler problem 18
2007-12-22 01:45:50 +01:00
Samuel Tardieu
f0903db414
Remove obsolete performance comment on project Euler problem 10
2007-12-22 01:45:46 +01:00
Samuel Tardieu
a66f7672dc
Update project-euler.010 timings
2007-12-22 00:29:12 +01:00
Samuel Tardieu
fd8253c262
Sieve of eratosthene optimizations
2007-12-22 00:28:46 +01:00
Samuel Tardieu
8e87d56e24
Factor solution to project Euler problem 17
2007-12-21 17:43:26 +01:00
Samuel Tardieu
9809e573a9
Much faster solution to projet-euler.010 by using lazy lists
2007-12-21 13:53:00 +01:00
Samuel Tardieu
074ef1e107
New math.erato library: sieve of Eratosthene
2007-12-21 13:53:00 +01:00
Samuel Tardieu
d5cd2fd66b
Add lazy-while and lazy-until to lazy-lists
2007-12-21 13:33:57 +01:00
Samuel Tardieu
858237c0f8
Reimplement leach so that stack is clean when executing the quotation
...
The previous implementation let garbage on the stack (such as the lazy list
cdr) before executing the quotation. This prevents easy implementation of
reduce-like words using leach.
2007-12-21 13:33:56 +01:00
Doug Coleman
ded88583ef
fixed heap-push-all
2007-12-20 00:06:36 -06:00
Slava Pestov
f2b4a04a44
Merge commit 'doublec/master'
2007-12-20 00:43:16 -05:00
Doug Coleman
ec89ee67c6
Merge git://spitspat.com/git/factor
2007-12-19 23:35:49 -06:00
Doug Coleman
b4575a9bff
Templating now runs in quiet mode
...
session ids are now 4 bignum number>string string>sha-256-string
add assoc-heaps
sessions are stored in an assoc-heap
2007-12-19 23:34:30 -06:00
Chris Double
0bf1355657
Remove parser-combinators.replace
2007-12-20 17:12:48 +13:00
Chris Double
b655d4c759
Add tags to peg, peg.ebnf and peg.pl0
2007-12-20 17:11:37 +13:00
Chris Double
a376cb6cc3
Add summary, author and tags to peg.search
2007-12-20 17:10:45 +13:00
Chris Double
6a8bfad475
Rename peg.replace to peg.search
2007-12-20 17:09:12 +13:00
Chris Double
6bd283ffa3
Convert parser-combinators.replace to pegs
2007-12-20 17:06:21 +13:00
Chris Double
42e20874fe
Fix USING: in parser-combinators.replace
2007-12-20 16:50:08 +13:00
Chris Double
7817af0104
Fix IN: in parser-combinators.simple
2007-12-20 16:48:58 +13:00
Chris Double
9a5335e718
Fix IN: in parser-combinators.replace
2007-12-20 16:46:25 +13:00
Chris Double
b5186937a4
Port fjsc to use pegs instead of parser combinators
2007-12-20 12:48:45 +13:00
Chris Double
d45ed669f8
Add digit, number and string parser to peg
2007-12-20 11:54:17 +13:00
Doug Coleman
afc6100c54
add IN: temporary to tests file
2007-12-19 16:21:05 -06:00
Daniel Ehrenberg
b8f210a3be
Merge branch 'master' into xml
...
Conflicts:
extra/rss/rss.factor
extra/sequences/lib/lib.factor
extra/xml/data/data.factor
2007-12-19 12:40:55 -05:00
Daniel Ehrenberg
58a0dff77c
XML fixes
2007-12-19 12:33:34 -05:00
Aaron Schaefer
fcfb8fbedf
add initial project-euler solutions and support vocabs
2007-12-18 20:57:16 -05:00
Doug Coleman
8aed4d6b26
fix bootstrap (tag-matches? -> tag-named?)
2007-12-18 16:14:47 -06:00
Doug Coleman
8899f07721
Merge http://littledan.onigirihouse.com/factor
2007-12-18 16:04:57 -06:00
Doug Coleman
d2163097f0
Add cut-all, human-sort to sequences.lib
2007-12-18 02:37:06 -06:00
Doug Coleman
2447a20ad5
Update help webapp to work with the overhauled furnace
2007-12-18 02:24:41 -06:00
Doug Coleman
1c3c7db0bc
Overhaul furnace
...
- validators work!
- added sessions
- add error checking to pastebin
- add define-form, defalut-values
2007-12-18 02:24:05 -06:00
Daniel Ehrenberg
315f7319fb
FAQ fix
2007-12-18 00:43:13 -05:00
Daniel Ehrenberg
8aa6fe29a0
Merge branch 'master' into trees
2007-12-17 18:37:05 -05:00
Daniel Ehrenberg
72a164e418
XML utilities
2007-12-17 18:26:10 -05:00
Slava Pestov
51992905b2
Inference tests tweak
2007-12-17 16:29:26 -05:00
Daniel Ehrenberg
5fb4d9cbb9
XML utilities
2007-12-17 15:31:10 -05:00
Daniel Ehrenberg
d6e445df1f
XML attrs
2007-12-17 15:29:21 -05:00
Slava Pestov
9ef535bc77
Add greendale's partition combinator to sequences.lib
2007-12-16 20:34:44 -05:00
Slava Pestov
52bb787631
Fix Enter key in deploy tool
2007-12-14 01:16:47 -05:00
Slava Pestov
114ee74041
Fix one-word-elt
2007-12-13 16:34:36 -05:00
Slava Pestov
68268bff0e
Windows deploy fix
2007-12-12 02:34:14 -05:00
Slava Pestov
37227b8e68
Merge commit 'littledan/master'
2007-12-12 00:36:59 -05:00
Daniel Ehrenberg
34e29cd690
Multiline string literal naming
2007-12-12 00:33:36 -05:00
Slava Pestov
0670633393
Bootstrap fix
2007-12-12 00:32:35 -05:00
Slava Pestov
9ec1911625
Remove debug message
2007-12-11 22:37:31 -05:00
Slava Pestov
d7217801c3
Documentation fixes
2007-12-11 22:36:40 -05:00
Slava Pestov
5c628517d1
Source responder fixes
2007-12-11 18:44:26 -05:00
Slava Pestov
c6dea4c49d
Pastebin fixes
2007-12-11 18:44:19 -05:00
Daniel Ehrenberg
b397c369d7
Inline multiline string literals
2007-12-11 17:23:56 -05:00
Slava Pestov
6afcf0ba2f
Pastebin updates
2007-12-11 15:48:18 -05:00
Daniel Ehrenberg
e1346ced8b
Multiline unit test and bug fix
2007-12-11 01:54:16 -05:00
Daniel Ehrenberg
fd63917d8b
Multiline string literals
2007-12-11 01:39:32 -05:00
Slava Pestov
8853d0ecb1
Merge commit 'dharmatech/master'
2007-12-10 16:04:11 -05:00
Slava Pestov
77ead806e0
Fix store unit tests
2007-12-10 03:46:48 -05:00
Slava Pestov
2059f6e9a4
fix objective-c mode load
2007-12-10 03:35:40 -05:00
Slava Pestov
9cd0b6437c
Another FAQ fix
2007-12-10 03:05:15 -05:00
Slava Pestov
5e8bfb3d6e
Fix extra/faq USING:
2007-12-10 03:01:39 -05:00
Slava Pestov
a58c654361
More store cleanups
2007-12-10 03:00:10 -05:00
Slava Pestov
9e93f6251e
Clean up store stuff
2007-12-10 02:50:50 -05:00
Slava Pestov
00d19637c1
pastebin cleanups
2007-12-10 02:34:56 -05:00
Slava Pestov
10c3c5ff27
Pastebin word wrap
2007-12-10 02:21:32 -05:00
Slava Pestov
ff7bf5d729
XMode fixes
2007-12-10 02:20:36 -05:00
Slava Pestov
aa55747647
Add support for positive, negative lookahead, word boundaries to regexp
2007-12-10 02:20:30 -05:00
Slava Pestov
058e7f40a4
Add ensure and ensure-not to parser-combinators
2007-12-10 02:20:16 -05:00
Slava Pestov
36a1fb9bc3
Merge commit 'littledan/master'
2007-12-10 00:51:05 -05:00
Daniel Ehrenberg
a290ea57cc
FAQ convienence word
2007-12-10 00:37:32 -05:00
Daniel Ehrenberg
d8c82ccace
FAQ compilation
2007-12-10 00:35:04 -05:00
Slava Pestov
17331c674a
Merge commit 'erg/master'
2007-12-09 22:48:47 -05:00
Doug Coleman
537963ce24
Don't pull in windows.shell32 on linux..
2007-12-09 18:35:19 -06:00
Doug Coleman
b475180d8e
autofind the path for gvim on unix and windows
2007-12-09 18:16:24 -06:00
Doug Coleman
4cde2561e2
3drop drop -> 4drop
2007-12-09 17:50:37 -06:00
Doug Coleman
c5567f3a04
add 4drop to extra shuffle
2007-12-09 17:49:33 -06:00
Doug Coleman
7b10e2941f
Handle WM_SYSCOMMAND -- don't beep on alpha keys
2007-12-09 17:45:49 -06:00
Doug Coleman
85be4fbf3e
Add definitions for accel functions
2007-12-09 17:45:27 -06:00
Doug Coleman
cd574fdf8e
Add struct def
2007-12-09 17:44:49 -06:00
Doug Coleman
e590fc8b79
notepad++ autopath
2007-12-09 11:51:25 -06:00
Doug Coleman
c5c2854107
Fix USE: issue
2007-12-09 11:43:17 -06:00
Doug Coleman
dff6194aad
Remove library/binary-roots, add walk-dir and find-file to io.paths
2007-12-09 11:42:35 -06:00
Doug Coleman
43c82592ad
Move walk-dir from id3 to io.paths
2007-12-09 11:40:47 -06:00
Doug Coleman
9cbd4a61d5
ted-notepad autopath
2007-12-09 10:57:35 -06:00
Doug Coleman
3277b67b50
ultraedit autopath
2007-12-09 10:57:03 -06:00
Doug Coleman
537c008a20
emeditor autopath
2007-12-09 10:56:47 -06:00
Doug Coleman
451f9b430f
Wordpad - automatic path
2007-12-09 10:49:39 -06:00
Doug Coleman
ef70996128
EditPadPro automatically configures path
2007-12-09 10:48:47 -06:00
Doug Coleman
4085ee278d
EditPlus automatically detects path
2007-12-09 10:48:01 -06:00
Doug Coleman
f26713182f
Change ui tabs to alt+12345
2007-12-09 10:29:46 -06:00
Daniel Ehrenberg
717ea6206a
Merge git://factorcode.org/git/factor
...
Conflicts:
extra/random-tester/random/random.factor
extra/random-tester/utils/utils.factor
2007-12-09 02:11:26 -05:00
Daniel Ehrenberg
c8e63057a0
Minor random tester cleanup
2007-12-09 01:35:26 -05:00
Doug Coleman
7053f84244
Merge git://factorcode.org/git/factor
2007-12-09 00:05:02 -06:00
Slava Pestov
de22165076
Merge branch 'master' of git://double.co.nz/git/factor
2007-12-08 23:28:50 -05:00
Chris Double
9ba3ea3d33
Fix tuple-db docs
2007-12-09 16:59:20 +13:00
Slava Pestov
2719e51fa9
Pastebin fix
2007-12-08 22:57:26 -05:00
Slava Pestov
a0d2d7b8de
Pastebin fix
2007-12-08 22:56:53 -05:00
Slava Pestov
3f4a2f59f6
Fix annotations
2007-12-08 22:43:48 -05:00
Slava Pestov
fa13212e15
Merge commit 'gmh33/master'
2007-12-08 21:44:10 -05:00
Slava Pestov
d19082dca7
Tweak reverse-complement a bit so that a member? test is open-coded
2007-12-08 17:47:39 -05:00
Slava Pestov
741c5966fd
No need for fast-member? optimization
2007-12-08 17:47:09 -05:00
Slava Pestov
4ade825fc6
Open-code member? test
2007-12-08 17:45:51 -05:00
Slava Pestov
d44d09949a
Improve planet date handling
2007-12-08 17:18:34 -05:00
Slava Pestov
fc556d9352
Fix pastebin Atom feed
2007-12-08 17:18:25 -05:00
Slava Pestov
7f337c2085
Update changelog
2007-12-08 17:18:17 -05:00
Slava Pestov
b07db288be
Add rfc3339>timestamp word
2007-12-08 17:18:09 -05:00
Slava Pestov
ec51f84dea
XMode fix
2007-12-08 15:14:33 -05:00
Slava Pestov
88f06748f6
Pastebin and source web app updates
2007-12-08 15:14:24 -05:00
Slava Pestov
cce5b733a6
Fix conflict
2007-12-08 15:13:59 -05:00
Slava Pestov
6beab4c06f
XMode improvements
2007-12-08 03:23:14 -05:00
Slava Pestov
6dc58c3a1f
Optimization
2007-12-08 03:23:05 -05:00
Slava Pestov
f14865b163
Add gmh33 to blogroll
2007-12-08 03:22:08 -05:00
Slava Pestov
c6a39f1f2c
Regexp improvements
2007-12-08 03:21:59 -05:00
Slava Pestov
f1d096bb85
Add <(?)>
2007-12-08 03:21:50 -05:00
Slava Pestov
49cbac32af
Fix stack effect
2007-12-08 03:21:40 -05:00
Slava Pestov
8c7ef92ffa
Fix stack effect
2007-12-08 03:21:32 -05:00
Gavin Harrison
053616dd63
modified: extra/prolog/prolog.factor
2007-12-08 02:28:42 -05:00
Gavin Harrison
4fb5084de9
new file: extra/prolog/authors.txt
...
new file: extra/prolog/prolog.factor
new file: extra/prolog/summary.txt
new file: extra/prolog/tags.txt
2007-12-08 02:13:39 -05:00
Daniel Ehrenberg
4a29e2e707
Functions added to sequences.lib; used in shufflers
2007-12-08 00:16:26 -05:00
Daniel Ehrenberg
6b2ed35115
RSS module slightly more flexible
2007-12-07 20:06:07 -05:00
Doug Coleman
6470303e51
Merge git://factorcode.org/git/factor
2007-12-07 14:02:52 -06:00
Doug Coleman
0334cfba02
Add two undocumented windows message names
2007-12-07 13:35:47 -06:00
Slava Pestov
0d7ea67bcf
Merge commit 'erg/master'
2007-12-07 14:24:54 -05:00
Doug Coleman
c92a8a4f73
Remove seq>stack as it does not compile
2007-12-06 13:40:35 -06:00
Doug Coleman
0f8164842a
stat likes paths with trailing \\ for root directories.
...
\\\\?\\k:\\ instead of \\\\?\\k:
2007-12-06 02:21:54 -06:00
Slava Pestov
3dc69f16f3
url-encode fix
2007-12-06 02:28:45 -05:00
Slava Pestov
5c8e6db77e
Windows io.launcher security fix
2007-12-06 02:28:08 -05:00
Doug Coleman
dcec7beab2
Fix 'windows' shadowing
2007-12-06 01:12:02 -06:00
Slava Pestov
02cecfa552
Bug fixes
2007-12-06 01:47:53 -05:00
Slava Pestov
c97b5fd6ff
More webapp fixes
2007-12-06 01:35:01 -05:00
Slava Pestov
be101ef500
Tweak webapps
2007-12-06 01:20:26 -05:00
Slava Pestov
ce6364212d
Furnace cleanup
2007-12-06 01:06:44 -05:00
Slava Pestov
6bc8995106
xmode.code2html fix
2007-12-06 01:03:27 -05:00
Slava Pestov
bb45b6702b
Planet factor tweak
2007-12-06 01:03:10 -05:00
Slava Pestov
e82ff27e98
Overhaul pastebin
2007-12-06 01:02:58 -05:00
Slava Pestov
a969934061
Various fixes
2007-12-06 00:23:18 -05:00
Slava Pestov
59566c20e9
Source responder with syntax highlighting
2007-12-06 00:23:05 -05:00
Slava Pestov
0e60982aca
Adding syntax highlighting support to the pastebin
2007-12-06 00:22:35 -05:00
Slava Pestov
54b52e7b01
Stacke effect fix
2007-12-06 00:06:43 -05:00
Slava Pestov
6120f5f387
Furnace improvements
2007-12-06 00:06:34 -05:00
Slava Pestov
4eb4982e60
RSS feed in planet
2007-12-05 23:16:20 -05:00
Slava Pestov
214974ec52
Fix feed>xml
2007-12-05 23:16:13 -05:00
Daniel Ehrenberg
c2e2fb2304
extra/rss now works with some Atom 0.3 feeds
2007-12-05 21:00:52 -05:00
Doug Coleman
7d30e47bca
Add library-roots and binary-roots for linux/mac
2007-12-05 19:49:29 -06:00
Eduardo Cavazos
6efd5260ad
Add a bunch of meta files
2007-12-05 19:45:56 -06:00
Eduardo Cavazos
73403aa89b
Add bake meta files
2007-12-05 19:39:28 -06:00
Eduardo Cavazos
6edcf9e9e0
Add springies meta files
2007-12-05 19:36:00 -06:00
Eduardo Cavazos
c40c43c1a7
Raptor updates
2007-12-05 19:35:19 -06:00
Doug Coleman
583b3abd74
Add windows word to shell32
2007-12-05 18:10:55 -06:00
Doug Coleman
ddd55ac4fa
Experimental find-binary and find-library words
2007-12-05 18:09:08 -06:00
Doug Coleman
8843843e3c
Merge git://spitspat.com/git/factor
2007-12-05 09:50:12 -06:00