Commit Graph

355 Commits (eeaffb14b8b85c2bcb0e56f4632e42ebab828b08)

Author SHA1 Message Date
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
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
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Aaron Schaefer 779ebc3422 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-10 22:17:18 -05:00
Slava Pestov 17676efeaa Merge branch 'master' of git://factorcode.org/git/factor 2009-02-09 18:12:00 -06:00
Slava Pestov efc88c5b69 Remove nipd, 3nip, 4nip and tuckd from basis/shuffle 2009-02-09 18:11:42 -06:00
Daniel Ehrenberg 35b526cc7a Docs for lists, consolidating list functionality in lists, minor API changes 2009-02-09 14:29:09 -06:00
Aaron Schaefer f3082b6e5e Merge branch 'master' of git://factorcode.org/git/factor 2009-02-05 11:18:51 -05:00
slava e29f18a2f4 Trying to fix a bad merge...
Revert "Merge branch 'master' of git://factorcode.org/git/factor"

This reverts commit da639739bd, reversing
changes made to 346a61f497.
2009-02-03 00:27:34 -06:00
Aaron Schaefer 3c02bcc065 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-01 18:33:03 -05:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Aaron Schaefer 52690f3088 Merge branch 'master' of git://factorcode.org/git/factor 2009-01-22 17:43:53 -05:00
Slava Pestov ca2f01e0d0 Updating non-core libraries for monotonic? change 2009-01-16 17:02:54 -06:00
Aaron Schaefer 42c683875c Merge branch 'master' of git://factorcode.org/git/factor 2009-01-08 00:38:34 -05:00
Aaron Schaefer 51530700f4 Add number-length word and clean cartesian-product 2009-01-07 18:47:32 -05:00
Samuel Tardieu ca7ffd6ea2 Separate lazy lists from core primes number generation 2009-01-07 21:10:34 +01:00
Samuel Tardieu b96d2cca48 Add test for project Euler 157 2009-01-07 13:37:17 +01:00
Aaron Schaefer 6858b29796 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-31 12:43:33 -05:00
Samuel Tardieu 3fbb9f7081 Project Euler - problem 57 2008-12-27 21:46:01 +01:00
Samuel Tardieu 588dfd326e Change timing info on project-euler.010
The "math.primes" vocabulary now handles very easily primes up to
five millions.
2008-12-26 21:03:12 +01:00
Aaron Schaefer adac92dfa5 Remove roll from Project Euler problem 33 solution 2008-12-20 18:53:17 -05:00
Aaron Schaefer 9b6d4f05f5 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-18 21:34:45 -05:00