Commit Graph

56 Commits (4c8dec1e98dc90ac1fcdb567bd520512b5fcf79b)

Author SHA1 Message Date
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
Eduardo Cavazos aa40350aa7 replace add* and add with prefix and suffix 2008-03-31 18:18:05 -06:00
Aaron Schaefer 7361ee58a8 Fix Project Euler solutions using combinators.lib stuff that moved 2008-02-11 15:14:56 -05:00
Aaron Schaefer 67607467b5 Solution to Project Euler problem 46 2008-02-10 22:11:31 -05:00
Aaron Schaefer a34c5aabed Slow solution to Project Euler problem 92 2008-02-09 22:13:01 -05:00
Aaron Schaefer 5aca313896 Solution to Project Euler problem 55 2008-02-08 22:29:12 -05:00
Aaron Schaefer d206ff9067 Solution to Project Euler problem 45 2008-02-08 19:28:30 -05:00
Aaron Schaefer c64fe3d07b Solution to Project Euler problem 42 2008-02-03 18:42:45 -05:00
Aaron Schaefer 170d8d8c51 Fix common Project Euler word alpha-num 2008-02-03 17:18:10 -05:00
Aaron Schaefer 8b207d1f48 Solution to Project Euler problem 75 2008-02-02 17:22:20 -05:00
Aaron Schaefer e37f2101c6 Solution to Project Euler problem 38 2008-02-01 14:45:29 -05:00
Aaron Schaefer 38bc7d7f75 Solution to Project Euler problem 34 2008-01-28 03:37:14 -05:00
Aaron Schaefer 6812eac271 Solution to Project Euler problem 30 2008-01-20 19:20:28 -05:00
Aaron Schaefer 9c78c7c05f Solution to Project Euler problem 27 2008-01-17 12:25:43 -05:00
Aaron Schaefer 76558babf4 Generalize factor-2s to eliminate special case exception 2008-01-14 15:04:21 -05:00
Aaron Schaefer 8bc631f5ed Rename count-factors to group-factors and update docs 2008-01-14 11:33:08 -05:00