Commit Graph

2493 Commits (00d7faa03746ca1d5bc89e11fb598ea2ec66ac7a)

Author SHA1 Message Date
Doug Coleman 00d7faa037 rename another strings.parser word 2009-09-24 19:45:03 -05:00
Doug Coleman 1bde229b48 rename a couple of strings.parser words 2009-09-24 19:43:57 -05:00
Slava Pestov f195391976 generic: cleanup 2009-09-24 06:24:52 -05:00
Slava Pestov eb5d30e724 Fix conflict 2009-09-23 20:52:04 -05:00
Slava Pestov d967e109ae Put bad escape code in the bad-escape error 2009-09-23 17:55:54 -05:00
Slava Pestov bc87918436 syntax: fix typos in " docs 2009-09-23 17:50:00 -05:00
Doug Coleman e8d3278c96 document """ 2009-09-23 10:33:40 -05:00
Doug Coleman abb8a221db 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 8d84bcb61a math and math.vectors: improved documentation 2009-09-23 03:08:45 -05:00
Keith Lazuka 293b9704d2 docs: updated some docs to use new markup 2009-09-22 15:22:34 -04:00
Doug Coleman 28e5a27c3f 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 a21d951494 generic: fix tests 2009-09-22 03:24:06 -05:00
Doug Coleman e8502d1ebc Merge branch 'master' of git://factorcode.org/git/factor 2009-09-21 17:59:48 -05:00
Slava Pestov 85c916fedc 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 0aa4700873 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-21 14:22:14 -05:00
Joe Groff 3613e6838c update alien docs to talk about C types as words 2009-09-21 13:20:01 -05:00
Doug Coleman 026761ed62 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 47fab85a00 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Doug Coleman 7e283285aa fix string parsing 2009-09-20 21:50:17 -05:00
Joe Groff eb4d4a24da oops, float>hex didn't preserve leading zeroes in mantissa 2009-09-20 16:48:42 -05:00
Doug Coleman 23384e5177 fixing some quotes in strings bugs 2009-09-20 15:08:06 -05:00
Doug Coleman 37952f1d2e the last character on a multiline string cannot be a backslash 2009-09-20 14:18:19 -05:00
Slava Pestov fc5fe2bd2a Merge Phil Dawes' VM work 2009-09-20 03:48:08 -05:00
Doug Coleman 002bcfab22 add multiline string support 2009-09-19 01:55:05 -07:00
Slava Pestov 3a312a5c52 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-18 14:34:39 -07:00
Joe Groff 2050561915 document number-base prettyprinter variable. add more docs about hex float syntax 2009-09-18 15:11:01 -05:00
Joe Groff 4a1422e7fe 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 9c451f6b01 combinators: clarify docs 2009-09-17 14:07:08 -07:00
Slava Pestov b8a0216e26 bootstrap.stage1: decent error message if stage2.factor can't be found 2009-09-17 09:14:56 -07:00
Joe Groff 2091f744bc 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 c623658aa2 added vm-ptr primitive 2009-09-16 08:20:50 +01:00
Joe Groff aa2047e942 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 427bfb4ab8 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 8cf1c488d4 math.parser: fix example 2009-09-12 21:45:57 -05:00
Slava Pestov 481a97975e math, syntax: document hexadecimal float literal syntax 2009-09-12 21:18:17 -05:00
Slava Pestov 7aac0d69d6 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 3b75d37b5e math, syntax: fix help lint 2009-09-12 21:07:31 -04:00
Slava Pestov e6c551a652 math.order: better docs 2009-09-12 16:33:42 -05:00
Slava Pestov e5731dc01f 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 47bc1498f7 Add NAN: literal syntax for NANs with a payload 2009-09-12 15:06:15 -05:00
Joe Groff b0d4051ac5 HEX: X.XXXpEEE hexadecimal float literal syntax 2009-09-11 20:11:29 -05:00
Joe Groff 4290932695 add an "unordered?" predicate to math, with a dumb implementation for now 2009-09-10 23:45:18 -04:00
Slava Pestov 8aecdf13ab 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 b98d5d9584 syntax: improve T{ docs 2009-09-10 15:53:14 -05:00
Slava Pestov 527db8995a 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 d566380a0d sequences: privacy please 2009-09-08 16:25:41 -05:00
Joe Groff 14c17524ab Merge branch 'master' into strong-typing 2009-09-08 15:53:20 -05:00
Slava Pestov 88b4780096 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 14:22:52 -05:00
Doug Coleman be29ee2929 deprecating nth for integers is annoying 2009-09-08 14:18:26 -05:00
Slava Pestov 17821626c3 Fix conflicts 2009-09-07 23:51:25 -05:00