Aaron Schaefer
5b87577f91
Solution for Project Euler problem 20
2007-12-24 21:54:39 -05:00
Aaron Schaefer
319d96384e
Solution to Project Euler problem 19
2007-12-24 16:29:04 -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
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
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
Doug Coleman
109e3d77d4
Merge git://spitspat.com/git/factor
2007-12-18 22:12:22 -06:00
Aaron Schaefer
fcfb8fbedf
add initial project-euler solutions and support vocabs
2007-12-18 20:57:16 -05:00
Doug Coleman
27ed0225ab
add self-update to factor.sh -- it downloads git, makes an image, and bootstraps
2007-12-18 17:07:24 -06:00
Doug Coleman
de7531424b
Return 1 to shell on error
2007-12-18 16:59:03 -06:00
Doug Coleman
54be2b85f5
Merge git://factorcode.org/git/factor
2007-12-18 16:47:07 -06:00
Doug Coleman
8aed4d6b26
fix bootstrap (tag-matches? -> tag-named?)
2007-12-18 16:14:47 -06:00
Doug Coleman
8a98adec79
Merge git://factorcode.org/git/factor
2007-12-18 16:07:09 -06:00
Doug Coleman
4ee0f7bcf1
Merge git://factorcode.org/git/factor
2007-12-18 16:05:14 -06:00
Slava Pestov
326fb1b01d
Merge commit 'dharmatech/master'
2007-12-18 17:04:57 -05:00
Doug Coleman
8899f07721
Merge http://littledan.onigirihouse.com/factor
2007-12-18 16:04:57 -06:00
Eduardo Cavazos
80c20bebc4
typo
2007-12-18 15:22:06 -06:00
Eduardo Cavazos
ccbb865f3d
typo
2007-12-18 15:16:41 -06:00