Slava Pestov
f624726e8e
Fix bootstrap
2007-12-26 20:21:18 -05:00
Slava Pestov
9de32c7b2d
Remove temporary hack now that new JIT works
2007-12-26 20:20:49 -05:00
Slava Pestov
93e1bdfcd7
Simplify JIT, fix tuples unit tests
2007-12-26 20:02:41 -05:00
Slava Pestov
1b9e04fdc5
Deferred words are now compound words
2007-12-26 17:28:34 -05:00
Slava Pestov
c9a7138b76
Remove unused symbols
2007-12-26 17:17:39 -05:00
Slava Pestov
f91ec96425
Fix code heap compaction and clean up VM a bit
2007-12-26 17:14:33 -05:00
Samuel Tardieu
4eb7aad50b
Use math.algebra to solve project Euler problem 134
2007-12-26 23:08:43 +01:00
Samuel Tardieu
c4529fb557
Add math.algebra module with some useful words.
...
- ext-euclidian implements the extended Euclidian algorithm
- ring-inverse computes an inverse in a Z/nZ ring
- chinese-remainder solves a multi-constraints modular equation
2007-12-26 23:08:15 +01:00
Samuel Tardieu
9f0fb715ab
Factor solution to project Euler problem 134
2007-12-26 21:44:22 +01:00
Samuel Tardieu
aaa4b2a62f
Do not use Eratosthene sieve if n < 1e6 since we have a static primes list
2007-12-26 20:35:35 +01:00
Aaron Schaefer
0dfddab0f6
Remove unnecessarily complicated PE022 solution
2007-12-26 09:06:52 -05:00
Slava Pestov
4bb2a43a10
Early binding JIT work in progress
2007-12-26 02:33:49 -05:00
Aaron Schaefer
994fe7c142
Solution to Project Euler problem 22
2007-12-26 02:25:10 -05:00
Slava Pestov
c09af2f2c6
Improved JIT compiler design; better REGISTER_ROOT/UNREGISTER_ROOT stuff
2007-12-26 01:45:16 -05:00
Slava Pestov
500ec89b56
Remove useless <quotation> word
2007-12-25 23:45:04 -05:00
Slava Pestov
3d784c7927
Simplify quotation calling convention: no need to pass XT
2007-12-25 23:40:36 -05:00
Slava Pestov
423c22e4ef
Symbols are compound defs now; SYMBOL: foo == : foo \ foo ;
2007-12-25 22:55:17 -05:00
Slava Pestov
73053ef230
Add failing unit test
2007-12-25 18:11:56 -05:00
Slava Pestov
32641f04e7
Remove intern-symbol
2007-12-25 18:10:05 -05:00
Aaron Schaefer
2ab01a8f25
Fix amicable-pair? false positives
2007-12-25 15:08:37 -05:00
Daniel Ehrenberg
d5baea215d
Splay tree fixes
2007-12-25 02:28:55 -05:00
Aaron Schaefer
f2cf2bc158
Solution to Project Euler problem 21
2007-12-25 00:13:01 -05:00
Slava Pestov
28d6fec557
Getting compiler unit tests to pass
2007-12-24 21:54:45 -05:00
Aaron Schaefer
5b87577f91
Solution for Project Euler problem 20
2007-12-24 21:54:39 -05:00
Slava Pestov
bbb89af5a6
Get compiler going again, start re-doing redefine tests
2007-12-24 21:41:46 -05:00
Daniel Ehrenberg
2bbf9f3297
Merge branch 'for-slava' of git://www.rfc1149.net/factor
2007-12-24 21:07:50 -05:00
Daniel Ehrenberg
18f85fbaf3
Merge branch 'master' into trees
2007-12-24 21:04:59 -05:00
Slava Pestov
7c75697ff3
Assorted fixes
2007-12-24 20:56:23 -05:00
Daniel Ehrenberg
5917e58c86
Fixed XML bug which made everything stop compiling
2007-12-24 20:48:29 -05:00
Slava Pestov
6814e07f49
Unit test fixes
2007-12-24 19:40:09 -05:00
Slava Pestov
e2c86aab4d
Remove dead code
2007-12-24 17:33:04 -05:00
Slava Pestov
41fc4ea84e
forget-vocab and forget-source now call with-compilation-unit
2007-12-24 17:32:41 -05:00
Slava Pestov
02b509a1d4
Remove dead code
2007-12-24 17:18:46 -05:00
Slava Pestov
0052e129fd
Clean up class definition recording
2007-12-24 17:18:26 -05:00
Aaron Schaefer
319d96384e
Solution to Project Euler problem 19
2007-12-24 16:29:04 -05:00
Daniel Ehrenberg
85a5beed74
Adding sequences.deep
2007-12-24 13:20:52 -05:00
Aaron Schaefer
2aa9dc9dde
Use Letter? instead of alpha? on euler017a
2007-12-24 13:07:46 -05:00
Aaron Schaefer
207e752464
Typo on Project Euler USING math.ranges
2007-12-24 13:01:11 -05:00
Aaron Schaefer
026a646b78
Merge /Applications/factor
2007-12-24 12:48:05 -05:00
Aaron Schaefer
37f42bb2fc
Alternate solution for Project Euler problem 17
...
Used the new vocab math.text and a string buffer.
2007-12-24 04:36:40 -05:00
Aaron Schaefer
50c3b5de14
Solutions to Project Euler problems 18 and 67
...
Added appropriate words to common.factor and got rid of number>digits for the time being.
2007-12-24 04:32:19 -05:00
Daniel Ehrenberg
d830ed9314
extra/tuple-syntax--named tuple slot literals
2007-12-24 01:58:13 -05:00
Daniel Ehrenberg
ee8932b888
Merge git://projects.elasticdog.com/git/factor
2007-12-24 00:37:43 -05:00
Aaron Schaefer
5fd3d34302
New math.text vocab converts numbers to English
2007-12-24 00:06:53 -05:00
Daniel Ehrenberg
0e13e2e92c
Fixing XML bug
2007-12-23 23:21:44 -05:00
Aaron Schaefer
fc403b373b
Declared sigma and count to be inline
2007-12-23 22:20:57 -05:00
Daniel Ehrenberg
0de2e117f5
Merge commit 'slava/master'
2007-12-23 16:09:21 -05:00
Daniel Ehrenberg
998213bb4b
Removed extra/xml/literal, which was added by accident
2007-12-23 14:58:56 -05:00
Daniel Ehrenberg
beaa4601ed
XML combinator refactoring
2007-12-23 14:57:39 -05:00
Samuel Tardieu
13d5ce70b0
Factor solution to project Euler problem 19
2007-12-23 13:45:46 +01:00