Slava Pestov
1debfb9398
generic: cleanup
2009-09-24 06:24:52 -05:00
Slava Pestov
0836e79e66
Fix conflict
2009-09-23 20:52:04 -05:00
Slava Pestov
413dc67985
Put bad escape code in the bad-escape error
2009-09-23 17:55:54 -05:00
Slava Pestov
1788957e1d
syntax: fix typos in " docs
2009-09-23 17:50:00 -05:00
Doug Coleman
545f7f11bb
document """
2009-09-23 10:33:40 -05:00
Doug Coleman
810bd63820
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/math/vectors/simd/simd-docs.factor
2009-09-23 10:11:49 -05:00
Slava Pestov
e1efb189a4
math and math.vectors: improved documentation
2009-09-23 03:08:45 -05:00
Keith Lazuka
bea4aa7662
docs: updated some docs to use new markup
2009-09-22 15:22:34 -04:00
Doug Coleman
51ddc963b8
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
core/generic/generic-tests.factor
2009-09-22 10:25:42 -05:00
Slava Pestov
be8cd84b40
generic: fix tests
2009-09-22 03:24:06 -05:00
Doug Coleman
b86314ec39
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-21 17:59:48 -05:00
Slava Pestov
962d039852
Rename specific-method to method-for-class, rename (effective-method) to method-for-object, and make both much faster
2009-09-21 17:42:20 -05:00
Doug Coleman
4dbceb60e8
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-21 14:22:14 -05:00
Joe Groff
55988828bf
update alien docs to talk about C types as words
2009-09-21 13:20:01 -05:00
Doug Coleman
5cb34724b7
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/classes/struct/struct-tests.factor
basis/functors/functors-tests.factor
basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman
eceed177d6
replace usages of <" with """
2009-09-20 22:42:40 -05:00
Doug Coleman
a4a9dcce00
fix string parsing
2009-09-20 21:50:17 -05:00
Joe Groff
f459c24e45
oops, float>hex didn't preserve leading zeroes in mantissa
2009-09-20 16:48:42 -05:00
Doug Coleman
31e7d355fe
fixing some quotes in strings bugs
2009-09-20 15:08:06 -05:00
Doug Coleman
e3ff59c303
the last character on a multiline string cannot be a backslash
2009-09-20 14:18:19 -05:00
Slava Pestov
f8a91438cd
Merge Phil Dawes' VM work
2009-09-20 03:48:08 -05:00
Doug Coleman
dc4a544a92
add multiline string support
2009-09-19 01:55:05 -07:00
Slava Pestov
7ddad99555
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-18 14:34:39 -07:00
Joe Groff
238f600da2
document number-base prettyprinter variable. add more docs about hex float syntax
2009-09-18 15:11:01 -05: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
6b502f6fe5
combinators: clarify docs
2009-09-17 14:07:08 -07:00
Slava Pestov
97d4ac2798
bootstrap.stage1: decent error message if stage2.factor can't be found
2009-09-17 09:14:56 -07:00
Joe Groff
748ba4b833
give a better error message when an invalid slot name is used in a tuple/struct literal
2009-09-16 18:07:39 -05:00
Phil Dawes
2e50da6beb
added vm-ptr primitive
2009-09-16 08:20:50 +01:00
Joe Groff
8c14af3f6c
add a number-base configuration variable to prettyprint.config. set to 2 to print BIN:, 8 to print OCT:, 10 to print decimal, 16 to print HEX:
2009-09-14 15:03:05 -05:00
Slava Pestov
32b95c2cdf
math: add unordered comparison operators u< u<= u> u>= which behave exactly like < <= > >= except no floating point exceptions are set if one or both inputs are NaNs; also add efficient intrinsic for unordered? predicate, and fix propagation type functions for abs, absq, and bitnot
2009-09-12 22:20:13 -05:00
Slava Pestov
f890f39d7c
math.parser: fix example
2009-09-12 21:45:57 -05:00
Slava Pestov
aad68418d2
math, syntax: document hexadecimal float literal syntax
2009-09-12 21:18:17 -05:00
Slava Pestov
a2b864e4f5
ALIEN: now reads a hexadecimal integer instead of a decimal one, since in general hex is more useful for addresses
2009-09-12 21:17:53 -05:00
Slava Pestov
018677319c
math, syntax: fix help lint
2009-09-12 21:07:31 -04:00
Slava Pestov
1337f82ce6
math.order: better docs
2009-09-12 16:33:42 -05:00
Slava Pestov
11f984e734
math.floats: fix abs on floats; -0.0 abs should be 0.0 not -0.0
2009-09-12 16:24:07 -05:00
Slava Pestov
3c55e7fe0c
Add NAN: literal syntax for NANs with a payload
2009-09-12 15:06:15 -05:00
Joe Groff
0ed5822ed9
HEX: X.XXXpEEE hexadecimal float literal syntax
2009-09-11 20:11:29 -05:00
Joe Groff
14f412b404
add an "unordered?" predicate to math, with a dumb implementation for now
2009-09-10 23:45:18 -04:00
Slava Pestov
d5bc1ceca2
classes.struct: fix some bugs
...
- STRUCT: foo<ENTER> in listener threw an error
- S{ did not throw an error when used with non-struct types
- attempting to subclass a struct class now fails
- forgetting a struct class now removes the corresponding C type
- 'see'ing a struct class now indents correctly
2009-09-10 15:59:27 -05:00
Slava Pestov
d9ebfe5f48
syntax: improve T{ docs
2009-09-10 15:53:14 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov
924ccca457
sequences: privacy please
2009-09-08 16:25:41 -05:00
Joe Groff
f2212acd46
Merge branch 'master' into strong-typing
2009-09-08 15:53:20 -05:00
Slava Pestov
a0e1af5891
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 14:22:52 -05:00
Doug Coleman
b9eb3a791f
deprecating nth for integers is annoying
2009-09-08 14:18:26 -05:00
Slava Pestov
bbca00e2ae
Fix conflicts
2009-09-07 23:51:25 -05:00
Jon Harper
1c97d33854
Fix documentation errors
2009-09-06 19:00:03 +09:00
Joe Groff
1bc97b4624
add unit tests for comparisons against nan
2009-09-03 17:27:06 -05:00