John Benediktsson
f3e1dc5b98
Use "map-sum" instead of "map sum".
2012-04-25 13:18:21 -07:00
John Benediktsson
817b45ee03
math.combinatorics: minor performance improvements.
2012-04-24 18:42:34 -07:00
Doug Coleman
763d9a3f7d
Missed yet more renames
2011-10-24 17:00:09 -07:00
John Benediktsson
80e1c8e3f2
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
2011-10-18 13:19:39 -07:00
John Benediktsson
4919339721
project-euler.150: 20% faster.
2011-10-16 21:21:07 -07:00
John Benediktsson
6f1c44b46d
Cleanup some lint warnings.
2011-10-15 19:19:44 -07:00
Joe Groff
2bd6de9a02
slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global
2011-09-19 10:03:43 -07:00
Doug Coleman
1179eefefa
Minor typo in euler 006
2010-10-08 06:34:20 -07:00
Doug Coleman
01e14d1430
Fix using list in sequences.unrolled, keys/values was not appropriate in several locations
2010-05-21 15:28:05 -05:00
Doug Coleman
39013d1373
Fix using list for keys/values change
2010-05-21 12:48:06 -05:00
Doug Coleman
bdecd564a3
Use keys/values where appropriate
2010-05-21 12:48:04 -05:00
Slava Pestov
627295f094
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
2010-05-06 17:21:02 -04:00
Daniel Ehrenberg
1da6ea957a
Fixing bugs with sets, including adding new within and without words
2010-03-16 20:17:26 -04:00
Daniel Ehrenberg
512fe14e4e
Merge branch 'bags' of git://github.com/littledan/Factor
...
Conflicts:
basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
basis/furnace/auth/auth.factor
basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Joe Groff
8687a7e283
Merge branch 'master' of git://factorcode.org/git/factor into row-polymorphism
2010-03-12 14:36:13 -08:00
Slava Pestov
9c3b94519d
project-euler.206: reduce memory usage
2010-03-12 16:45:31 +13:00
Joe Groff
f24a74f66c
Merge branch 'master' into row-polymorphism
2010-03-10 11:48:41 -08:00
Joe Groff
e7968ceffc
mop up compiler errors from macosx load-all
2010-03-09 00:56:07 -08:00
Samuel Tardieu
bda1c97d21
Project Euler : problem 265
2010-03-08 18:35:30 +01:00
Daniel Ehrenberg
da57436180
Finishing eliminating prune as a synonym of members
2010-02-27 14:52:24 -05:00
Daniel Ehrenberg
6298203b4c
Making all of basis and extra unambiguous for sets/namespaces
2010-02-26 16:28:38 -05:00
Slava Pestov
7826543d2e
sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase
2010-02-25 20:54:57 +13:00
Aaron Schaefer
5ea289eacd
clean up PE solution 255
2010-02-20 11:20:21 -06:00
Aaron Schaefer
6cc9348dfa
Add PE problem 70 to common project file
2010-02-20 09:16:53 -06:00
Aaron Schaefer
d0f4239d58
Solution to Project Euler problem 70
2010-02-20 09:15:05 -06:00
Aaron Schaefer
3f53d189fe
update project-euler common files
2010-02-18 20:46:18 -06:00
Aaron Schaefer
02d868dabe
Solution to Project Euler problem 206
2010-02-17 22:25:53 -06:00
Aaron Schaefer
7e6479cd36
collect-benchmarks needs to convert from nano not micro
2010-02-14 15:59:18 -06:00
Slava Pestov
ad6d8556e0
Change [0,b) usages to iota
2010-01-15 08:05:50 +13:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Doug Coleman
7f1a643de2
fix project euler 54
2009-12-07 18:24:57 -06:00
Doug Coleman
a94774f8e8
add circular-while, optimize circular a bit
2009-12-06 17:20:46 -06:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Slava Pestov
70b10a28d6
Merge branch 'master' of git://github.com/killy971/factor
2009-11-09 01:01:51 -06:00
Slava Pestov
fb3d49ab7d
project-euler.ave-time: fix ave-time combinator to infer with new, stricter stack checking regime, and add unit tests
2009-11-09 00:54:59 -06:00
Doug Coleman
9e939a4dad
solved project euler 089 ftw
2009-11-06 01:49:33 -06:00
Joe Groff
a5957b188d
nip most uses of tuck from extra
2009-11-05 22:22:21 -06:00
Doug Coleman
1d12a6707d
sigma -> map-sum
2009-10-29 14:34:04 -05:00
Joe Groff
3fbe722561
Merge branch 'master' of http://factorcode.org/git/factor
...
Conflicts:
basis/locals/locals.factor
basis/peg/peg.factor
extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Doug Coleman
93de179c2f
over push -> suffix!, over push-all -> append!
2009-10-28 15:29:01 -05:00
Joe Groff
935c0797c3
update existing code for [let change
2009-10-27 22:05:37 -05:00
Guillaume Nargeot
0a350bbe6e
Solution to Project Euler problem 62
2009-10-26 21:17:06 +09:00
Guillaume Nargeot
a909d048fd
Solution to Project Euler problem 81
2009-10-18 23:45:33 +09:00
Guillaume Nargeot
34ebacf20c
Added author
2009-10-12 22:01:29 +09:00
Guillaume Nargeot
5548324303
Solution to Project Euler problem 188
2009-10-12 21:38:34 +09:00
Guillaume Nargeot
f97ede3d91
merge project-euler.factor
2009-10-12 17:08:50 +09:00
Jon Harper
62ba9bc7de
Euler 051 : added unit test, integration, author
2009-10-07 21:28:36 +09:00
Jon Harper
a6a5245edb
more library usage and readability improvements
2009-10-04 03:18:04 +09:00
Jon Harper
2dafa24383
Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge
2009-10-04 03:17:35 +09:00
Jon Harper
bf054fe2b5
Solution to euler255 (slow and not so pretty)
2009-10-01 00:05:47 +09:00
Jon Harper
f65ffc6640
faster implementation of euler023 using a hashtable
2009-09-30 23:08:45 +09:00
Slava Pestov
3e27d06914
layouts: most-positive/negative-fixnum return fixnums now
2009-09-29 22:27:54 -05:00
Guillaume Nargeot
6f87a9c4e4
Solution to Project Euler problem 65
2009-09-26 19:09:42 +09:00
Guillaume Nargeot
fe2125399c
Slightly modified project euler 72, and added some comments
2009-09-26 19:07:31 +09:00
Slava Pestov
81462d1479
project-euler.074: cleanup
2009-09-22 05:19:26 -05:00
Guillaume Nargeot
f6e2e76860
Solution to Project Euler problem 74
2009-09-22 17:02:22 +09:00
Guillaume Nargeot
941fc66a43
Solution to Project Euler problem 72
2009-09-22 11:16:04 +09:00
Guillaume Nargeot
0081d316a9
Fixed comments of project-euler.085
2009-09-15 21:01:25 +09:00
Guillaume Nargeot
6056a3301f
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-15 20:33:02 +09:00
Guillaume Nargeot
1df869af6a
Solution to Project Euler problem 124
2009-09-15 19:33:56 +09:00
Doug Coleman
79505168cf
faster number-length and some unit tests
2009-09-14 13:48:06 -05:00
Slava Pestov
37166ed8f7
project-euler.186: disable test for now since it uses too much memory on build machines
2009-09-12 12:38:25 -05:00
Slava Pestov
287c1a3cf0
Merge branch 'master' of git://github.com/killy971/factor
2009-09-12 01:32:09 -05:00
Slava Pestov
29a73c901d
project-euler.{073,085}: speed up and reduce memory consumption
2009-09-12 01:30:46 -05:00
Guillaume Nargeot
0d4f827745
Solution to Project Euler problem 102
2009-09-12 14:13:42 +09:00
Slava Pestov
1fd6ae1776
project-euler.044: update average time in comment
2009-09-11 21:15:48 -05:00
Slava Pestov
7145016142
project-euler.044: even faster algorithm
2009-09-11 21:14:43 -05:00
Slava Pestov
96ca914972
project-euler.044: more efficient algorithm
2009-09-11 20:59:54 -05:00
Guillaume Nargeot
a0b6d4f381
Solution to Project Euler problem 112
2009-09-07 06:28:44 +09:00
Guillaume Nargeot
ffed0d7eba
Solution to Project Euler problem 85
2009-09-05 10:59:04 +09:00
Doug Coleman
7c92ab1ea5
move if-zero etc to math, remove 1-/1+ from math
2009-08-14 14:27:23 -05:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Doug Coleman
02becc26fc
add docs for if-zero etc, add docs for 10^
2009-08-11 18:45:01 -05:00
Doug Coleman
eccc919c18
fix project euler 151 and add a unit test
2009-08-11 18:22:44 -05:00
Doug Coleman
4fef246ca4
add 10^ to math.functions and update usages
2009-08-11 18:00:24 -05:00
Doug Coleman
407377fc98
rename peek -> last and update all usages
2009-05-25 16:38:33 -05:00
Slava Pestov
b62630b5ac
Updating code in basis and extra for stricter vocab search path semantics
2009-05-14 23:23:06 -05:00
Doug Coleman
4b7e1eef11
update using
2009-05-10 13:48:09 -05:00
Doug Coleman
79265b50d9
update usages of miller-rabin
2009-05-10 12:24:43 -05:00
Aaron Schaefer
5e82d794df
Eliminate stack shuffling by using bi in PE #25
2009-05-07 10:56:33 -04:00
Aaron Schaefer
e59e051c74
Use [0,b) and iota where appropriate
2009-05-01 22:26:49 -04:00
Aaron Schaefer
9981f6534f
Use iota in Project Euler solutions
2009-05-01 20:46:25 -04:00
Aaron Schaefer
5006f11342
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-19 13:01:40 -04:00
Aaron Schaefer
e4ce05f73b
Additional solution to PE problem 1 from IRC
2009-04-19 13:01:02 -04:00
Doug Coleman
332bde4173
use iota in a few places
2009-04-17 16:17:11 -05:00
Aaron Schaefer
4e4e9cb579
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-17 15:56:14 -04:00
Slava Pestov
df18c0b6e7
Making more code infer
2009-04-15 19:03:44 -05:00
Aaron Schaefer
01677ada51
Remove unnecessary helper word after refactoring
2009-04-08 18:15:24 -04:00
Aaron Schaefer
ee9f509e82
Solutions to Project Euler problem 69
2009-04-08 02:41:02 -04:00
Aaron Schaefer
e78476a51e
Solution to Project Euler problem 63
2009-04-07 21:36:38 -04:00
Aaron Schaefer
7a9c0ce069
Solution to Project Euler problem 58
2009-04-07 16:55:00 -04:00
Aaron Schaefer
4a229e5205
Slight cleanup of PE problem 54 solution
2009-04-05 21:16:20 -04:00
Aaron Schaefer
8fdc852038
Solution to Project Euler problem 54
2009-04-05 15:37:03 -04:00
Aaron Schaefer
59145c0672
Minor typo in solution for PE problem 49
2009-04-02 12:10:51 -04:00
Aaron Schaefer
d6e646389c
Solution to Project Euler problem 49
2009-04-02 11:58:35 -04:00
Aaron Schaefer
ca9fb1fcf1
Update usages of divisor? where appropriate
2009-04-01 21:53:18 -04:00
Aaron Schaefer
9d44708e1d
Fix contains? -> any? rename issue
2009-04-01 18:43:45 -04:00
Aaron Schaefer
fd6aba04a1
Merge branch 'master' of git://factorcode.org/git/factor
...
* 'master' of git://factorcode.org/git/factor: (113 commits)
Round mouse co-ordinates
Fix bunny deployment
Fix site-watcher tests
make multimethods tests pass
make ecdsa unportable for now
check pango-1.0
cocoa.messages: cleanup
Move synopsis* from definitions to see
Faster PEG compile times; inline less, use execute( instead
delete factor/ every time after a build is finished. you can easily check it out by knowing the git-id
Condomization wraps lambdas in condoms to protect them from macro-transmitted diseases. cond, case and other macros work better now if lambdas appear where quotations are expected
Fixing compile errors, test failures and help lint failures
Add a missing step to the tutorial.
Add stack declarations to primitives during bootstrap now that ( is just a comment and won't affect HELP: anymore
OpenSSL checksum => native implementation
kernel doesn't need to depend on classes.tuple.private
Remove useless declarations
Fixing unit tests for syntax change
tools.disassembler now uses udis on Windows
Add promises unit tests
...
Conflicts:
extra/project-euler/001/001.factor
2009-03-24 02:41:53 -04:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Slava Pestov
9366ffe83a
Fix load error
2009-03-19 15:52:58 -05:00