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
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
Doug Coleman
de4e42b6ca
classes.parser: add a create-class word.
2015-08-23 22:40:56 -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
b1606f3d0a
classes.error: It was in the other patch but not this one...
2015-08-12 19:40:25 -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
e0d1b14e5c
factor: don't need FROM: namespaces => set or namespaces:set anymore
2015-08-12 11:25:57 -05:00
Doug Coleman
28dcd0667a
factor: rename set to unordered-set.
2015-08-12 10:54:19 -05:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
John Benediktsson
5eec781b40
use ``if*`` instead of ``dup [ ] [ drop ] if``.
2015-07-20 22:24:30 -07:00
Doug Coleman
2f6548d6d2
factor: fix breakage with word renamings.
2015-07-20 05:51:16 -07:00
Doug Coleman
eca8b7e49c
core: fix docs
2015-07-20 01:01:31 -07:00
Doug Coleman
e4c39bcf3c
factor: superclass -> superclass-of, superclasses -> superclasses-of
2015-07-20 00:46:33 -07:00
Doug Coleman
2adeed9cb3
factor: rename classes:members to class-members so it doesn't conflict with sets:members. ugh.
2015-07-20 00:32:42 -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