John Benediktsson
07a5912afa
math.matrices: rename m./m.v/v.m to mdot/mdotv/vdotm.
2020-02-26 12:51:04 -08:00
John Benediktsson
6db0ae3087
project-euler.common: cleanup.
2019-11-06 20:16:48 -08:00
John Benediktsson
75c6065a14
project-euler: removing unnecessary IN: in -tests.
2018-02-14 17:16:47 -08:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
Doug Coleman
330c7ba156
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
...
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
John Benediktsson
f59d8ef0c1
project-euler.common: add a digits>number.
2015-07-19 19:18:47 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
6e60c811ac
core: Rename create to create-word, create-in to create-word-in.
2015-06-08 12:47:35 -07:00
John Benediktsson
76761b2e59
more minor cleanup.
2014-11-30 19:26:23 -08:00
Björn Lindqvist
8b09038e2f
project-euler: [ + ] 2map -> v+
2014-11-17 19:02:12 -08:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
John Benediktsson
817b45ee03
math.combinatorics: minor performance improvements.
2012-04-24 18:42:34 -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
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
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
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
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
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Doug Coleman
1d12a6707d
sigma -> map-sum
2009-10-29 14:34:04 -05:00
Doug Coleman
79505168cf
faster number-length and some unit tests
2009-09-14 13:48:06 -05:00
Slava Pestov
96ca914972
project-euler.044: more efficient algorithm
2009-09-11 20:59:54 -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
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
79265b50d9
update usages of miller-rabin
2009-05-10 12:24:43 -05:00
Aaron Schaefer
ee9f509e82
Solutions to Project Euler problem 69
2009-04-08 02:41:02 -04:00
Aaron Schaefer
ca9fb1fcf1
Update usages of divisor? where appropriate
2009-04-01 21:53:18 -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
f995542246
Project Euler solutions had MAIN: words which would leave values on the stack; add a new SOLUTION: parsing word now that MAIN: cannot do that
2009-03-18 23:05:32 -05:00
Aaron Schaefer
2152a5c97f
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-01 22:24:30 -05:00
Slava Pestov
cd53c2bd37
produce and produce-as: don't need third quotation either
2009-02-28 15:31:34 -06:00
Aaron Schaefer
51530700f4
Add number-length word and clean cartesian-product
2009-01-07 18:47:32 -05:00
Slava Pestov
cd5ae48670
Remove sequences.lib dependencies from project-euler.common and roman
2008-12-17 20:04:24 -06:00
Aaron Schaefer
db7cbed3a5
Move ratio mediant word to project-euler.common
2008-11-10 12:51:43 -05:00
Aaron Schaefer
61db7d846b
Switch zero? to 0 = where appropriate in PE solutions
2008-11-09 22:10:42 -05:00
Aaron Schaefer
9d06315809
Clean up of common Project Euler code
2008-11-03 20:14:37 -05:00
Aaron Schaefer
92e2ee3509
Clean up Projece Euler solutions
2008-11-03 16:20:36 -05:00
Aaron Schaefer
852c16a79b
Fix sorting string equality issue in Project Euler
2008-10-31 01:35:37 -04:00
Aaron Schaefer
3127cfdddc
Use clump instead of collect-consecutive in PE
2008-10-30 23:34:32 -04:00
Aaron Schaefer
f2538d0156
Clean up Project Euler solutions
2008-10-30 22:04:44 -04:00
Slava Pestov
cf80dd122a
Updating code for make and fry changes
2008-09-10 22:11:40 -05:00
Slava Pestov
5d9c1ea0a0
Documentation updates, rename unfold to produce
2008-07-10 01:00:27 -05:00
Doug Coleman
439c138aa5
fix load errors
2008-04-26 11:03:41 -05:00
Doug Coleman
4d0ba8c3c1
reverse args for assoc-diff, diff
...
fix lots of usings
fix help lint
2008-04-26 02:01:43 -05:00