Doug Coleman
8c3df2ede4
core: Remove some foo'bar words and a lot of postpone:
2018-08-09 21:59:15 -04:00
Doug Coleman
0a77f6c679
factor: fixing [[ ]] and some unit tests
2018-08-02 18:29:04 -04:00
Doug Coleman
7730fc5c64
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-08-02 07:57:42 -04:00
Doug Coleman
4e9d383fe5
docs: Fix help-lint-all mistakes.
2018-07-07 01:13:19 -05:00
Doug Coleman
53b1a81049
Merge branch 'master' into modern-harvey2
2018-06-20 00:26:12 -05:00
Doug Coleman
9f213f96f6
core: Add the shuffler words but without primitives.
...
The nipd branch slowed bootstrap by a minute, this patch does not.
sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Doug Coleman
a2e8fb9050
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-02-18 11:29:09 -06:00
John Benediktsson
edc1b3f65d
classes.tuple: adding ?offset-of-slot that returns n/f.
2018-02-17 12:56:27 -08:00
John Benediktsson
a92d67fcb2
fix more typos in docs.
2018-02-12 16:43:08 -08:00
Doug Coleman
815591e10c
factor: m: { a b } -> M\\ a b
2017-10-12 21:22:41 -05:00
Doug Coleman
cada003d7f
factor: Rename ``M\ array generic`` to ``m: { array generic }``.
...
The problem with M\ is that it has an arity of 1 where we need it to have arity 2. Also, for multimethods, the \ disables parsing of the array that follows, e.g. ``M\ { string string } multimethod-name`` parses as ``M\ {`` and leaves the rest unparsed. This is obviously wrong.
An alternative syntax that should be implement and looks ok is ``m{ array generic }``
2017-10-01 09:51:31 -05:00
Doug Coleman
3dc8f5e039
core: Fix using list.
2017-09-16 06:32:01 -05:00
Doug Coleman
200b5192ed
factor: commit weekend work.
2017-09-11 16:37:47 -05:00
Doug Coleman
3aa096e2e5
docs: Update docs.
2017-08-31 21:21:14 -05:00
Doug Coleman
c436f6dbad
factor: char: postpone: color: hexcolor: flexhexcolor: decimal:
2017-08-31 21:21:13 -05:00
Doug Coleman
01aab7c884
Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s
2017-07-03 12:47:19 -07:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
Doug Coleman
e93d8f82bc
core: Add TH{ for making assoc tuples.
...
See #1449 .
https://github.com/factor/factor/issues/1449
2017-05-30 20:14:29 -05:00
Alexander Iljin
b1a24358f3
classes.maybe-docs: create some documentation for the maybe vocab
...
Integrate the pointers to the new article into existing help system,
primarily by looking for the uses of the "unions" article.
2017-03-17 08:22:18 -07:00
Alexander Iljin
bad5408c76
*-docs: fix a typo in the word parametErized
2017-03-17 08:22:18 -07:00
John Benediktsson
a7814b9358
classes: unset defining-class in define-class.
2016-04-13 16:41:42 -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
Björn Lindqvist
85c3ccbb98
slots: add initial value for integer-array-capacity, fixes part of #1571
2016-03-21 18:10:39 +01:00
Björn Lindqvist
6362a4ad5f
compiler.units: changes dynamic vars so that they are stack parameters instead
2016-03-09 23:24:42 +01:00
Björn Lindqvist
81ad3e21cb
tuple-arrays: initial-values can be reused here to create the tuple
...
array sequence
2015-10-10 23:58:04 +02:00
John Benediktsson
adbd379241
classes.tuple: fix stack effect, didn't mean to commit change.
2015-09-24 09:38:16 -07:00
John Benediktsson
7583ffc2c9
classes.tuple: use class-of in tuple>array.
2015-09-24 07:58:02 -07:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
John Benediktsson
9dcca84c27
classes.tuple: a better error if creating a tuple from too many values.
2015-08-15 19:39:39 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -05:00
Doug Coleman
2f6548d6d2
factor: fix breakage with word renamings.
2015-07-20 05:51:16 -07:00
Doug Coleman
e4c39bcf3c
factor: superclass -> superclass-of, superclasses -> superclasses-of
2015-07-20 00:46:33 -07: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
00059f9ec5
classes.tuple: Add a note about "defining-class"
2015-06-30 21:20:20 -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
John Benediktsson
aa00d59d59
words: rename reset-props to remove-word-props.
2015-06-09 11:53:46 -07:00
John Benediktsson
ab3f3173af
change errors to use "object" instead of "obj".
2014-12-01 08:04:49 -08:00
John Benediktsson
c0d6fdedd1
classes.tuple: use slots>tuple when possible.
2014-11-29 16:54:50 -08:00
John Benediktsson
f52493f3ca
classes.tuple: fix test-case.
2014-06-07 09:50:26 -07:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
Doug Coleman
31e1fe54e3
core/extra tests: Fix word -> last-word
2013-03-24 01:11:54 -07:00
Doug Coleman
5bcdeee745
classes: Add a check that arguments to classoids are themselves classoids.
...
Introduce a new word-prop that makes tuple-class words classoids at parse-time so that
self-referential tuple definitions with maybe{} work, e.g. TUPLE: node { next maybe{ node } } ;
Add unit test.
Fixes #766 .
2013-03-22 16:00:46 -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
f84df9d190
classes: change class-usage to return a sequence like it's documented to do.
2013-03-08 23:06:16 -08:00
John Benediktsson
4da798920e
Revert "graphs: change closure to use a set and operate on sequences."
...
This reverts commit 2cc201a38a .
2013-03-08 18:08:09 -08:00