Commit Graph

10603 Commits (c0ad6b7c5585dbe7212507f29e969d5c9aa26541)

Author SHA1 Message Date
Samuel Tardieu e6a5ac4acd Remove useless with-scope and unneeded uses 2008-12-27 23:13:03 +01:00
Samuel Tardieu 3fbb9f7081 Project Euler - problem 57 2008-12-27 21:46:01 +01:00
Samuel Tardieu 0182a3430d Allow sigma and friends to use the stack
"sigma" used to use the stack to remember the current total.
This prevented the use of quotations manipulating elements
that were expecting to be on the stack.

This patch hides the counter while executing the quotation,
so that the latter can fully use the stack.
2008-12-27 21:39:32 +01:00
Jose A. Ortega Ruiz ff99bf016d FUEL: recognize fried quotations in syntax table. 2008-12-27 17:36:12 +01:00
Jose A. Ortega Ruiz 308f18b81e FUEL: Correct syntax identification for CHAR: x forms with x a paren char. 2008-12-27 15:44:15 +01:00
Jose A. Ortega Ruiz 90f6fef8d2 FUEL: fix in autodoc require's and echo area font lock. 2008-12-27 15:18:17 +01:00
Jose A. Ortega Ruiz 7d4f4c5ed7 Merge commit 'origin/master' into emacs 2008-12-27 15:16:21 +01:00
Doug Coleman 6cfb951d82 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-26 17:14:07 -06:00
Doug Coleman f9dacfb16b more docs for pathnames 2008-12-26 17:13:20 -06:00
Slava Pestov ab6e3e2c3f Merge branch 'for-slava' of git://git.rfc1149.net/factor 2008-12-26 15:36:41 -06:00
Samuel Tardieu 5a9eab2c48 Remove unused and redundant math.erato
The math.erato module brings nothing more is brought by lprimes
from math.primes. Remove it, as it has no user, and a better version
is available in math.primes.erato anyway.
2008-12-26 21:03:12 +01:00
Samuel Tardieu 99023a3322 Use regular primality test to build primes list 2008-12-26 21:03:12 +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
Samuel Tardieu f86b5baf8d Use math.primes.erato instead of a list of first prime numbers 2008-12-26 21:03:12 +01:00
Samuel Tardieu 93b20967b5 Add Eratosthene sieve as math.primes.erato 2008-12-26 20:58:46 +01:00
Samuel Tardieu 7716ac276e Mark parts of math.miller-rabin as private 2008-12-26 20:58:46 +01:00
Samuel Tardieu 4f42d00769 Use existing recursion tools rather than explicit one 2008-12-26 20:58:46 +01:00
Samuel Tardieu 7303316a04 Do not remove first primes only to prepend them afterwards
This makes little sense to use "lprimes-from" to get the
primes above one million to prepend the list of primes
before one million afterwards.
2008-12-26 20:58:45 +01:00
Samuel Tardieu 66b410b81f Properly set bits in large bit arrays
Bit arrays were not properly manipulated by set-bits or clear-bits
if they were larger than 40 bits (one cell + one byte).

Moreover, the bug was likely to cause a bus error on architectures unable
to access unaligned words.
2008-12-26 20:58:45 +01:00
Jeff Bigot f5dc0884d7 modify inclusions in file-chooser 2008-12-26 18:16:32 +01:00
Jeff Bigot b93c6df46c change "extra/4DNav" to "resource:extra/4DNav" 2008-12-26 16:29:14 +01:00
Jose A. Ortega Ruiz 0fc7574f48 Merge commit 'origin/master' into emacs 2008-12-26 16:05:54 +01:00
Jeff Bigot 6ca268c60d first 4DNav commit 2008-12-26 10:23:54 +01:00
Jose A. Ortega Ruiz 15b5977b79 Merge commit 'origin/master' into emacs 2008-12-25 20:04:58 +01:00
Eduardo Cavazos 321919d210 easy-help: Add 'List:' 2008-12-25 07:55:04 -06:00
Eduardo Cavazos 2f51b5e4f0 easy-help: add 'Class-Description:' 2008-12-25 06:41:39 -06:00
Eduardo Cavazos c289aa5c38 easy-help: refactoring 2008-12-25 06:24:50 -06:00
Eduardo Cavazos 924c075450 Fix typo in help for '$values' 2008-12-25 05:34:36 -06:00
Slava Pestov 7ff689b2f5 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-24 15:28:42 -06:00
Eduardo Cavazos 028d27a2cb easy-help: Add support for embedded markup to some words 2008-12-24 03:13:44 -06:00
Eduardo Cavazos 15202a9cf2 Add 'easy-help.expand-markup' 2008-12-24 03:13:28 -06:00
Eduardo Cavazos 4fd6242ae3 size-of: Use 'Word:' from easy-help 2008-12-23 22:46:18 -06:00
Eduardo Cavazos d842a75639 easy-help: Add 'Word:' 2008-12-23 22:46:03 -06:00
Eduardo Cavazos ca463f020b size-of: Edit 'Values:' 2008-12-23 21:58:08 -06:00
Eduardo Cavazos 6171b1939f easy-help: 'Values:' accepts multi-line input 2008-12-23 21:57:34 -06:00
Jose A. Ortega Ruiz 116bb31321 FUEL: A bit of font-lock in the uses buffer. 2008-12-24 03:12:17 +01:00
Jose A. Ortega Ruiz 37b8c20077 FUEL: Fixes to fuel-update-usings. 2008-12-24 02:44:49 +01:00
Nicholas Seckar 79128ecd5c Fuel auto use: Don't merge the IN: and USING: 2008-12-23 16:42:24 -08:00
Jose A. Ortega Ruiz d214b5f744 Merge commit 'origin/master' into emacs 2008-12-23 22:38:42 +01:00
Jose A. Ortega Ruiz a160e7d32a FUEL: New fuel-update-usings (C-cC-eu) command. 2008-12-23 22:37:25 +01:00
Eduardo Cavazos e4d3ea0581 size-of: Add a Values: clause 2008-12-23 02:29:19 -06:00
Eduardo Cavazos 0841720484 easy-help: Add a simple Values: word 2008-12-23 02:28:39 -06:00
Eduardo Cavazos 5f1084f5c4 nehe looks good to go back in extra 2008-12-22 18:15:21 -06:00
Jose A. Ortega Ruiz 96ee0ef75a Merge commit 'origin/master' into emacs 2008-12-23 00:46:22 +01:00
Jose A. Ortega Ruiz 618a2a7e78 FUEL: Small fixes. 2008-12-23 00:34:43 +01:00
Eduardo Cavazos 62e1accad5 Remove unmaintained/tiling 2008-12-22 17:20:35 -06:00
Eduardo Cavazos 81e69a1664 Update 'ui.gadgets.tiling'. Add some help. 2008-12-22 17:20:04 -06:00
Eduardo Cavazos c181056ed2 ui.gadgets.plot: use easy-help 2008-12-22 15:57:12 -06:00
Eduardo Cavazos beff592f76 Use easy-help in 'size-of' 2008-12-22 15:50:14 -06:00
Eduardo Cavazos d193aad524 Demo easy-help in the 'ui.gadgets.slate' vocabulary 2008-12-22 15:43:24 -06:00