Doug Coleman
54ccb0f48c
Udpate calendar to remove some circular dependencies
2008-01-10 09:49:12 -10:00
Doug Coleman
3546f5150d
Merge http://littledan.onigirihouse.com/factor
2008-01-09 22:18:14 -10:00
Daniel Ehrenberg
c8b1db0a3e
Changes for unicode
2008-01-09 19:34:29 -06:00
Slava Pestov
97e1e53781
Update extra/match for define-compound => define renaming
2008-01-09 19:13:50 -05:00
Slava Pestov
542b85889d
Fix unit tests
2008-01-09 19:13:26 -05:00
Daniel Ehrenberg
1dfabe3b34
Merge commit 'slava/master' into unicode
...
Conflicts:
core/parser/parser.factor
core/source-files/source-files.factor
extra/unicode/unicode-tests.factor
extra/unicode/unicode.factor
2008-01-09 17:30:59 -06:00
Daniel Ehrenberg
98226eec9b
Put protocols in a separate vocab from delegate
2008-01-09 17:24:03 -06:00
Daniel Ehrenberg
eda67ed510
Merge branch 'master' of git://spitspat.com/git/factor into unicode
2008-01-09 17:22:55 -06:00
Daniel Ehrenberg
71f6e7d4ba
Unicode changes
2008-01-09 17:13:26 -06:00
Slava Pestov
9231140a85
Lazy lists stack effect fix
2008-01-09 17:53:04 -05:00
Slava Pestov
2bed30672d
Minor macros fix
2008-01-09 17:52:37 -05:00
Slava Pestov
c8360f5ae5
Rename curry* to with
2008-01-09 17:36:30 -05:00
Slava Pestov
ed29e2e5aa
Notify definition-observers when words are forgotten
2008-01-09 17:51:55 -04:00
Daniel Ehrenberg
e4de6fd8af
Changing combinators.lib
2008-01-09 13:44:58 -06:00
Daniel Ehrenberg
d1aba5effe
Unicode changes
2008-01-09 13:44:07 -06:00
Slava Pestov
487abce510
Loading a vocab updates the browser if appropriate
2008-01-09 14:41:58 -04:00
Aaron Schaefer
f42a4de85d
Merge git://factorcode.org/git/factor
2008-01-09 10:50:36 -05:00
Slava Pestov
3b311d3cb7
definition observers; move with-compilation-unit and related support to compiler.units
2008-01-09 04:52:08 -05:00
Slava Pestov
cdc1e4372c
Merge commit 'littledan/master'
2008-01-09 01:53:34 -05:00
Slava Pestov
4e2fbe4f53
Fix memoize unit tests
2008-01-09 01:51:00 -05:00
Slava Pestov
2180b0f146
Fix init-stdio scope issue
2008-01-09 01:50:25 -05:00
Slava Pestov
005319da1a
Load fixes for Mac OS X-related libraries
2008-01-09 01:36:11 -05:00
Slava Pestov
731549bdcb
new-slots: define change-* combinators
2008-01-09 01:34:04 -05:00
Slava Pestov
2e19bdae2d
Pastebin RSS feed: limit number of posts
2008-01-09 01:33:51 -05:00
Aaron Schaefer
ba1ac9f0f3
Merge branch 'master' of git://factorcode.org/git/factor
2008-01-07 16:20:28 -05:00
Slava Pestov
0142d96238
Fixing deployment tool for Windows
2008-01-07 17:14:21 -04:00
Slava Pestov
6e7d70f2bb
Experimental slot accessors that will go into core in 0.93
2008-01-06 23:51:08 -04:00
Aaron Schaefer
6dde570dfd
Merge branch 'master' of git://factorcode.org/git/factor
2008-01-06 22:38:10 -05:00
Slava Pestov
3bff775503
Update memoize and promises
2008-01-06 23:36:34 -04:00
Aaron Schaefer
947e64c630
Move math.text to math.text.english for localization
2008-01-06 22:21:58 -05:00
Aaron Schaefer
4c6cb412f3
Merge branch 'master' of git://onigirihouse.com/git/littledan
2008-01-06 22:02:49 -05:00
Aaron Schaefer
c1103ce735
Merge branch 'master' of git://factorcode.org/git/factor
2008-01-06 21:42:40 -05:00
Aaron Schaefer
50a3ad54da
Cleanup of all Project Euler solutions thus far
2008-01-06 21:18:59 -05:00
Daniel Ehrenberg
f00cfd653a
Moved tuple-syntax/about.txt to summary.txt
2008-01-06 20:11:00 -06:00
Slava Pestov
4e43b946f9
Fix conflicts
2008-01-06 14:17:50 -04:00
Slava Pestov
8285eeda9a
Fix conflict
2008-01-06 13:30:23 -04:00
Slava Pestov
b4b59521c7
Get locals to load
2008-01-06 12:17:38 -04:00
Slava Pestov
cf4c13f55b
Improving multi-methods
2008-01-06 12:13:54 -04:00
Slava Pestov
07e5441b14
Definition protocol cleanup
2008-01-06 12:13:44 -04:00
Aaron Schaefer
7636671b8c
Merge git://www.rfc1149.net/factor
...
Conflicts:
extra/project-euler/project-euler.factor
2008-01-06 10:55:46 -05:00
Slava Pestov
ede3f4d977
Improved multi-methods
2008-01-06 11:22:26 -04:00
Slava Pestov
b61c41163b
Inefficient, experimental multi-methods implementation
2008-01-06 00:07:12 -04:00
Slava Pestov
e84ad1f2ba
Make tools.annotations:reset more robust
2008-01-05 22:07:13 -04:00
Slava Pestov
825601ccc7
More circularity fixes
2008-01-05 20:37:13 -04:00
Slava Pestov
c3deb44f43
Fix circularity
2008-01-05 18:27:15 -04:00
Slava Pestov
516eca8544
Fix interactor stack effect inference
2008-01-05 16:09:55 -04:00
Samuel Tardieu
4fa639a50b
Add missing project Euler solutions to the list
2008-01-05 10:43:18 +01:00
Doug Coleman
8ca13a5570
renamed two files
2008-01-04 21:10:49 -06:00
Doug Coleman
21a4896736
Move reverse-complement files to reverse-complement/
2008-01-04 21:02:09 -06:00
Doug Coleman
df07e61b7b
fix path
2008-01-04 20:55:58 -06:00
Doug Coleman
990bb86295
Fix the reverse-complement benchmark paths
2008-01-04 20:51:02 -06:00
Slava Pestov
55efffed6c
Make mixins smarter, fix interactor
2008-01-04 22:10:49 -04:00
Daniel Ehrenberg
7692300311
Merge branch 'master' of git://spitspat.com/git/factor
2008-01-04 19:22:21 -06:00
Doug Coleman
03b18daa5e
Merge http://littledan.onigirihouse.com/factor
2008-01-04 19:21:18 -06:00
Daniel Ehrenberg
f66e1b1f66
Merge branch 'for-slava' of git://www.rfc1149.net/factor
...
Conflicts:
extra/project-euler/018/018.factor
extra/project-euler/project-euler.factor
2008-01-04 18:51:42 -06:00
Daniel Ehrenberg
1de0f57e2b
trees.splay authors.txt typo fix
2008-01-04 18:40:16 -06:00
Aaron Schaefer
03fa8a4887
Alternate solution to Project Euler problem 25
2008-01-04 01:40:01 -05:00
Aaron Schaefer
8748979546
Solution to Project Euler problem 25
2008-01-03 12:21:45 -05:00
Samuel Tardieu
598c53d6eb
Use cut-slice instead of cut in a loop
2008-01-03 11:52:56 +01:00
Aaron Schaefer
0a6975c423
Solution to Project Euler problem 24
2008-01-03 01:49:46 -05:00
Slava Pestov
3fd5d8c40e
Fixing unit tests
2008-01-02 23:07:59 -04:00
Slava Pestov
b7327b6228
Redo the profiler
2008-01-02 20:36:36 -04:00
Aaron Schaefer
75c126fef0
Fix path generation for Project Euler problem files
2008-01-02 19:11:08 -05:00
Aaron Schaefer
a2bcdaf696
Solution to Project Euler problem 23
2008-01-02 18:57:57 -05:00
Doug Coleman
7c77535824
Merge http://littledan.onigirihouse.com/factor
2008-01-02 01:49:10 -06:00
Daniel Ehrenberg
81026a92bf
Reverting RSS changes; fixing unit tests
2008-01-01 22:30:22 -05:00
Slava Pestov
e3af94cfbd
Remove redundant tools.walker vocab
2007-12-31 23:16:21 -04:00
Daniel Ehrenberg
d0046482cc
Merge commit 'elasticdog/master'
2007-12-31 15:17:34 -05:00
Aaron Schaefer
897a8ed8aa
Replace '<file-reader> contents' with 'file-contents' in all vocabs
2007-12-31 14:47:24 -05:00
Doug Coleman
aec422a744
Merge http://littledan.onigirihouse.com/factor
2007-12-31 11:51:58 -06:00
Daniel Ehrenberg
5a347d513c
Macros now memoize when not used as compiler transform
2007-12-31 00:44:40 -05:00
Daniel Ehrenberg
df5fa5f239
combinators.lib:construct-slots
2007-12-30 23:59:56 -05:00
Aaron Schaefer
2f04bfadbe
Merge http://littledan.onigirihouse.com/factor.git
...
Conflicts:
extra/project-euler/010/010.factor
extra/project-euler/018/018.factor
extra/project-euler/019/019.factor
extra/project-euler/067/067.factor
extra/project-euler/project-euler.factor
2007-12-30 22:41:04 -05:00
Aaron Schaefer
41fa14010d
Move file-contents word to core/io/io.factor
2007-12-30 21:29:27 -05:00
Slava Pestov
18eb8e2bd3
Clean up interactor gadget
2007-12-30 21:15:59 -05:00
Samuel Tardieu
cf19d8a37c
Factor solution to project Euler problem 173
2007-12-31 03:01:15 +01:00
Doug Coleman
95272f8a51
Merge http://littledan.onigirihouse.com/factor
2007-12-30 18:09:47 -06:00
Samuel Tardieu
724eff0089
Use group to do the grouping to be closer to the original problem
2007-12-31 00:28:49 +01:00
Samuel Tardieu
b55f6d9114
Use constant stack effect to prevent compilation errors
2007-12-31 00:28:45 +01:00
Slava Pestov
64b06f059a
Unit test fixes
2007-12-30 17:14:15 -05:00
Slava Pestov
13c058870e
Fix bootstrap.help
2007-12-30 15:40:57 -05:00
Slava Pestov
e1be77ee6f
Documentation updates
2007-12-30 15:08:48 -05:00
Slava Pestov
fbf992b414
Call init-io in bootstrap.io
2007-12-30 15:07:22 -05:00
Slava Pestov
8189e33b2b
Remove compiler-hook which was just a workaround for the old batch compilation model
2007-12-30 15:05:33 -05:00
Samuel Tardieu
c06d328ea3
Factor solution to project Euler problem 169
2007-12-30 13:30:42 +01:00
Samuel Tardieu
392da8029f
Factor solution to project Euler problem 175
2007-12-30 13:10:59 +01:00
Samuel Tardieu
dc18466c27
Project Euler solutions are not always numbers
2007-12-30 13:10:50 +01:00
Daniel Ehrenberg
bea0eb759a
XML docs update
2007-12-30 04:24:05 -05:00
Daniel Ehrenberg
fe2ef1e418
Shufflers tests fix
2007-12-30 04:21:03 -05:00
Daniel Ehrenberg
706d538db1
Merge branch 'for-slava' of git://www.rfc1149.net/factor
2007-12-30 03:39:34 -05:00
Slava Pestov
529133559f
Rename require-each to require-all
2007-12-29 22:30:17 -05:00
Slava Pestov
75695563ca
Fixing interactor (temporarily)
2007-12-29 22:29:59 -05:00
Aaron Schaefer
8eff6af322
Fix edge-case and perfect square errors with sum-proper-divisors
2007-12-29 14:09:50 -05:00
Slava Pestov
2b37b76d65
Working on profiler
2007-12-29 12:44:01 -05:00
Slava Pestov
e58cbb2cda
: spin swap rot ;
2007-12-29 11:36:20 -05:00
Daniel Ehrenberg
4a28fe910d
XML prettyprinter
2007-12-29 01:33:21 -05:00
Slava Pestov
78029f5464
windows.messages staging violation load fix
2007-12-28 22:52:24 -05:00
Slava Pestov
f319b45de9
Freetype staging violation fix
2007-12-28 22:52:00 -05:00
Slava Pestov
58da31c071
New implementation of compiler error reporting
2007-12-28 22:51:36 -05:00
Slava Pestov
ced9893a4e
Get bootstrap.tools to load, update extra/ for USE-IF: removal
2007-12-28 21:46:06 -05:00
Doug Coleman
67fe34ba88
Merge http://littledan.onigirihouse.com/factor
2007-12-28 11:04:44 -06:00
Samuel Tardieu
483028cc51
Update problems list and simplify code
2007-12-28 14:53:26 +01:00
Samuel Tardieu
a680c3abc5
Fix bug in project Euler 134 and update timings wrt math.algebra code changes
2007-12-28 14:19:47 +01:00
Samuel Tardieu
a9903e1bdc
Remove some words in math.algebra and change implementation
2007-12-28 14:19:40 +01:00
Samuel Tardieu
9760eb4fb1
Update collect-benchmarks so that it does not rely onto computed stack effect
2007-12-28 14:19:19 +01:00
Daniel Ehrenberg
c936895160
sequences.deep bug fix
2007-12-27 21:03:12 -05:00
Daniel Ehrenberg
f536b4c057
Merge branch 'trees'
2007-12-27 20:17:08 -05:00
Daniel Ehrenberg
8a562bc81f
Trees on the assoc protocol
2007-12-27 20:16:55 -05:00
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