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
924b434336
Revert "factor: vocab:word -> vocab::word"
...
This reverts commit 354f1cbd34 .
2018-08-02 08:21:52 -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
64ccdc40a0
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-03-06 10:57:40 -06:00
John Benediktsson
737abe0f9a
classes.error: adding a summary.txt.
2018-02-25 11:38:58 -08: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
bd9676e152
core/basis/extra: use none?.
2018-02-14 11:56:31 -08:00
John Benediktsson
a92d67fcb2
fix more typos in docs.
2018-02-12 16:43:08 -08:00
Doug Coleman
354f1cbd34
factor: vocab:word -> vocab::word
2017-12-29 00:43:25 -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
Björn Lindqvist
483325d0f0
core/: bunch of more docs
2017-06-24 16:42:59 +02:00
Doug Coleman
27423b78aa
classes.intersection: Fix typo in commented-out unit-test.
2017-06-04 20:03:02 -05:00
Doug Coleman
1708c8011f
classes.singleton: Update another test.
2017-06-04 12:57:38 -05:00
Doug Coleman
06fd324379
singleton: Move definitions to top level in tests.
2017-06-04 10:41:26 -05: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
John Benediktsson
3f04f7b013
classes.maybe: fix help-lint for docs.
...
Right now the examples must have stack effect ( -- ). Some future
version might have an output stack assertion, but for now use
prettyprint to check result.
2017-03-17 13:21:36 -07: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
Björn Lindqvist
350de8f171
classes.mixin,classes.union: moves the check-self-reference test
...
Should make it so you can't define self-referencing mixins, just like
you can't define self-referencing unions.
2017-01-03 06:10:12 +01:00
Björn Lindqvist
9752d2fbf5
classes.mixin.tests: fix tc not to break when forget-tests? is on
2017-01-03 04:15:57 +01:00
Björn Lindqvist
8f28fb2587
classes.mixin: fix type checking in add-mixin-instance
...
One test in classes.mixin.tests intermittently breaks otherwise.
2016-12-30 16:24:34 +01:00
Björn Lindqvist
a808ade3c1
classes.mixin: better name for the type checking error
2016-12-30 16:02:55 +01:00
Björn Lindqvist
7abe91732f
classes.*: new words contained-classes and all-contained-classes
...
it is to generalize the logic used for checking if union classes
self-references
2016-12-06 09:00:01 +01:00
Björn Lindqvist
0142d0b078
basis/,extra/: using parse-array-def in a bunch of places
2016-12-03 13:23:24 +01:00
Björn Lindqvist
fe0f2902a0
classes.mixin: add-mixin-instance doesn't need to be generic
2016-11-28 02:04:28 +01:00
John Benediktsson
a7814b9358
classes: unset defining-class in define-class.
2016-04-13 16:41:42 -07:00
John Benediktsson
331483ab98
classes.algebra: removing valid-classoid? (enforced in constructors).
2016-04-13 14:29:24 -07:00
John Benediktsson
ed22ef8ee7
classes.maybe: this restriction isn't necessary anymore.
2016-04-13 14:20:00 -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
John Benediktsson
71ef8a22c2
disambiguate namespaces:set and sets:set.
2016-03-29 17:14:42 -07:00
Doug Coleman
20aadd5688
core: rename some double paren words.
2016-03-25 03:13:27 -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
9cc73c9492
graphs: move to core and simplify.
...
1. remove add-vertex* and remove-vertex* that contradicted the documentation.
2. graphs use hash-sets of edges instead of hashtables of {edge,edge} pairs.
3. make graphs:closure work like classes:closure, use in classes.
2016-03-21 10:20:38 -07: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