Doug Coleman
7ca280aee6
factor: SYNTAX: \FOO:
2017-08-31 21:21:13 -05:00
Björn Lindqvist
6f9ff8813e
compiler.*, stack-checker.known-words: adds the integer-array-capacity
...
This commit adds the integer-array-capacity declaration on a few
words. It should make loopy code compile faster and fix #1339
2016-03-18 20:46:41 +01:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
330c7ba156
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
...
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman
fbaa38be6d
bit-arrays: rename clean-up to zero-end-bits
2015-06-05 21:09:57 -07:00
John Benediktsson
4e2e8a21e0
bit-arrays: use integer>fixnum, cleanup resize.
2013-04-04 18:12:20 -07:00
John Benediktsson
84e8041a9c
bit-arrays: move toggle-bit to bit-arrays.private.
2012-08-21 18:05:59 -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
385a51b3ef
Fixes #35 - -1 <bit-array> should throw an error
2011-08-27 16:44:48 -07:00
Slava Pestov
1c6bbf7fd1
bit-arrays: re-use utility words from math.bitwise and io.binary to make implementation a bit more elegant
2010-05-03 22:38:50 -04:00
Slava Pestov
af0ddd5985
Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams
2010-02-24 20:18:41 +13:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Joe Groff
076ab42dc3
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Slava Pestov
f808f43ffb
A few inline declarations
2009-08-27 04:09:12 -05:00
Slava Pestov
030b1b816c
Add inline declarations for various assorted methods
2009-08-17 22:32:21 -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
Slava Pestov
f3fa4debe3
bit-arrays: fix resize method regression after recent equal? method optimization
2009-07-29 06:47:50 -05:00
Slava Pestov
5fe3bcff4d
Faster bit-array equality, add bit-set-subset? word
2009-07-28 11:14:57 -05:00
Slava Pestov
7692c5d219
bit-arrays: specialize set-bits and clear-bits
2009-07-16 23:49:13 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Samuel Tardieu
087d931c36
Remove the tail argument from do/until/while
2009-02-18 02:41:14 +01:00
Doug Coleman
cf99c7afd1
no locals in bit-arrays
2009-02-10 17:25:02 -06:00
Samuel Tardieu
e4b3f01e9e
Fix bit-array>integer byte ordering
2009-01-07 23:16:27 +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
Slava Pestov
daf2857d7b
define-inline now takes an effect parameter
...
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov
b154b21aaa
Add new until combinator, and a new do word which acts like a modifier: do while, do until for loops which iterate at least once
2008-12-08 23:37:18 -06:00
Slava Pestov
4f0a9f311e
Untangling some dependencies
2008-12-08 14:58:00 -06:00
Slava Pestov
402da00390
Fixing bootstrap with specialized arrays
2008-12-02 02:44:19 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
05f47c1aaf
Prettyprinter now emits assoc-form tuples unless boa-tuple? is on
2008-09-06 03:23:54 -05:00
Slava Pestov
8b855b2445
Help lint fixes
2008-08-22 23:00:35 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00