Alexander Iljin
1aded9abdd
docs: replace $description with $class-description for class words
2016-07-30 09:25:30 -07:00
Doug Coleman
c133c16377
core: Trim using lists from -tests and clean up a few irregularities.
2016-03-30 18:43:41 -07:00
Björn Lindqvist
579875821b
VM: removes the OBJ-ERROR special object in favor of a constant
...
The special object contained the string "kernel-error" which were used
to tag VM errors. But it is simplier and removes a little complexity to
just tag them with a fixnum constant.
2016-03-22 17:52:19 +01:00
John Benediktsson
2fc178e518
arrays: don't need to use slots.private.
2015-10-29 09:05:12 -07:00
Björn Lindqvist
05b6d2d19b
arrays: can use the length>> accessor instead
2015-10-29 06:36:38 +01:00
Björn Lindqvist
1ee0823e52
arrays: make it so pair? doesn't call length, fixes #1496
2015-10-29 00:48:18 +01:00
Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -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
44e8e7b344
primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
...
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
Björn Lindqvist
906f796094
kernel.private: add ERROR-OUT-OF-FIXNUM-RANGE on the Factor side
2014-06-07 14:36:53 +02:00
Björn Lindqvist
a9a52d9174
VM: bignum_to_fixnum_strict and an accompanying vm error in case the conversion fails
2014-06-07 12:13:59 +02:00
John Benediktsson
73d65aacb3
core: update some help $value types.
2014-05-23 14:24:04 -07:00
Doug Coleman
5a9e7cd374
classes.builtin: Add the BUILTIN: keyword which lets builtin classes show up in source files. Probably could use save-location to allow editing, but it seemed to break things.
2013-03-10 12:05:38 -07:00
John Benediktsson
28f36a25b0
Revert "core: >array, >byte-vector, >hashtable, >vector should be inline."
...
This reverts commit cd6026e70e
.
2012-10-05 08:30:41 -07:00
John Benediktsson
700cee5afd
core: >array, >byte-vector, >hashtable, >vector should be inline.
2012-09-28 19:31:14 -07:00
Doug Coleman
4a14bd407d
core: Use integer>fixnum instead of >fixnum for ``nth`` and other sequence operations. Fixes #581 .
2012-07-25 18:24:43 -07:00
Doug Coleman
3ba787b277
core/basis: trim down using lists
2011-11-30 23:15:42 -08:00
John Benediktsson
5a943b32c4
Remove stack effects from HELP: declarations.
2011-10-20 19:36:11 -07:00
Slava Pestov
5ae75af6a8
Clarify documentation for resize-array, resize-byte-array, resize-string words, and remove flushable declaration since technically they don't satisfy the flushable contract (reported by Daniel Ehrenberg)
2010-06-22 15:48:48 -04:00
Slava Pestov
41433da61b
core: minor cleanups
2010-02-18 01:57:22 +13:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
030b1b816c
Add inline declarations for various assorted methods
2009-08-17 22:32:21 -05:00
Doug Coleman
14ef1649d4
add if-zero/when-zero/unless-zero to core/ and update usages
2009-08-11 17:59:40 -05:00
Slava Pestov
6a89e4ee3b
Updating sequence and hashtable documentation to point more clearly at the relevant generic operations defined on these types
2009-02-16 21:06:28 -06:00
Slava Pestov
0290be6e93
Exploit the fast-path for allocation of array with initial element 0 by changing
...
new-sequence on arrays, the vector constructor, and resize-array, called when
growing vectors, to fill arrays with 0 instead of f. user code never observes the
initial value in these situations anyway. small speedup on bootstrap
2008-12-06 18:37:28 -06:00
Slava Pestov
252b1eb513
Faster conversion of sbufs, vectors and byte-vectors to their corresponding fixed-size type respectively; we call the resize-T primitive on the underlying sequence instead of >T
2008-12-05 06:37:19 -06:00
Slava Pestov
a4d9cdfeb3
Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
...
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
2440fc1ceb
Fixing remaining issues
2008-08-22 17:38:23 -05:00
Slava Pestov
d0ae6bdb8f
Make array length foldable
2008-07-16 16:48:09 -05:00
Slava Pestov
eb6a1de4a1
Some cleanup
2008-07-01 20:19:03 -05:00
Slava Pestov
77c4d97785
Some unit test fixes
2008-06-30 03:57:00 -05:00
Doug Coleman
fafd00bae7
rename new -> new-sequence
2008-04-13 12:54:58 -05:00
Slava Pestov
690621ffb6
Change PREDICATE: syntax
2008-03-26 18:23:19 -05:00
Slava Pestov
e98cd1fd59
New convention for unit tests
2008-03-01 17:00:45 -05:00
Slava Pestov
be2c8b13d7
Rename unit-test-fails to must-fail and add must-fail-with to replace [ t ] [ [ ... ] catch ... ] unit-test idiom
2008-02-06 13:47:19 -06:00
Slava Pestov
c3deb44f43
Fix circularity
2008-01-05 18:27:15 -04:00
Slava Pestov
500ec89b56
Remove useless <quotation> word
2007-12-25 23:45:04 -05:00
U-SLAVA-FB3999113\Slava
e9b42fa635
Move more math stuff to extra/, get compiler to work without ratios/complex numbers
2007-10-14 20:38:23 -04:00
Slava Pestov
a96457cecc
Initial import
2007-09-20 18:09:08 -04:00