Doug Coleman
c53892a128
bootstrap.syntax: Fix bootstrap.
2018-02-18 11:41:02 -06: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
42b37dcc8a
fix some tests broken by previous commit.
2018-02-15 13:16:39 -08:00
John Benediktsson
ca03896d74
more test IN: cleanup.
2018-02-15 09:20:01 -08:00
John Benediktsson
bd9676e152
core/basis/extra: use none?.
2018-02-14 11:56:31 -08:00
John Benediktsson
01f7f6b76c
sequences: moving none? to core.
2018-02-14 11:23:03 -08:00
Cat Stevens
08b55b6a62
core/combinators docs: fix unclearness in case help
2018-02-14 07:41:22 -08:00
John Benediktsson
a92d67fcb2
fix more typos in docs.
2018-02-12 16:43:08 -08:00
John Benediktsson
7d628b833d
fix some typos in docs.
2018-02-12 16:22:49 -08:00
Doug Coleman
81d713f6e6
syntax: Add INITIALIZED-SYMBOL:, STARTUP-HOOK:, and SHUTDOWN-HOOK:
2018-01-28 01:34:51 -06:00
Doug Coleman
5d8b912216
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-01-27 09:43:21 -06:00
John Benediktsson
32584c5335
sorting: simplify l-next, r-next.
2018-01-22 11:45:54 -08:00
Alexander Iljin
34e9412e29
syntax-docs: improve descriptions for GENERIC: and GENERIC#:
2018-01-22 07:58:17 -08:00
Alexander Iljin
abb3089a97
sequences-docs: fix a typo
2018-01-22 07:58:17 -08:00
John Benediktsson
5ea1e2efee
vocabs: remove unnecessary generic stack effect.
2018-01-20 21:30:11 -08:00
John Benediktsson
1e0ae925f0
checksums: fix doctest for checksum-file.
2018-01-18 22:24:24 -08:00
Doug Coleman
3cbe0a1598
core: add ':
2018-01-02 22:32:23 -08:00
Doug Coleman
daa7be5b7f
core: fix bootstrap.
2018-01-02 22:31:08 -08:00
Doug Coleman
825891c7ef
syntax: add ': for fried words
2017-12-29 11:09:53 -08:00
Doug Coleman
354f1cbd34
factor: vocab:word -> vocab::word
2017-12-29 00:43:25 -08:00
Doug Coleman
bb07cd3d48
functors2: same -> inline
2017-12-28 18:51:21 -08:00
Doug Coleman
efa9b2d01d
functors2: rename SAME-FUNCTOR: to INLINE-FUNCTOR:
2017-12-28 17:28:58 -08:00
Doug Coleman
f24a2e8ef7
present: add present for pointer
2017-12-28 17:15:51 -08:00
Doug Coleman
d8a947b53d
functors: workin on it
2017-12-27 20:58:00 -08:00
Doug Coleman
d835fd8b82
present: add a ``M\\ callable present``
2017-12-26 15:45:35 -08:00
Doug Coleman
38e93e9308
functors2: Redo FROM: for same-functors. Execute top-level code from functors, too.
2017-12-26 11:49:20 -08:00
Doug Coleman
3d83bb9f06
Merge remote-tracking branch 'local-master/master' into modern-harvey2
2017-12-24 14:59:58 -08:00
Doug Coleman
77492bb4b3
factor: fix tests that depended on LICENSE.txt never changing.
2017-12-17 21:45:10 -06:00
Doug Coleman
8a07105d9d
factor: Fix spacing found by ``all-factor-paths [ ] rewrite-paths``
2017-12-03 19:23:37 -06:00
Doug Coleman
8e8b5f59f5
factor: update sorting functor by adding a name type to functors2.
2017-12-02 19:05:25 -06:00
Doug Coleman
3964553ed5
functors: use in compiler.
2017-12-02 18:07:34 -06:00
Doug Coleman
56d437a1e7
alien.destructors: new functors.
2017-12-02 17:21:49 -06:00
Doug Coleman
7616f6e95d
factor: add inlined quotations in stack effects
2017-12-02 16:38:11 -06:00
Doug Coleman
1950722e04
functors2: Fix IN: for same-functor
2017-12-02 10:12:04 -06:00
Doug Coleman
43e0ce4977
functors2: terrible duplication but about to reimplement it in terms of functors.
2017-12-02 08:05:27 -06:00
Doug Coleman
ec05bf7be9
core: Add support for quotations inside stack-effects.
...
Disabled: Preconditions for functors are awkward to implement without creating new syntax. Instead, allow stack effects of the form ( x: [ 1 + ] -- y ) everywhere.
2017-11-25 18:44:37 -06:00
Doug Coleman
384ffc1025
specialized-arrays: Works as a new functor!!
2017-11-24 21:46:16 -06:00
Doug Coleman
f8c54fd2bf
core: Move new functors to core.
...
Also move enough to implement them in an ok style. I would prefer to use formatting in core, but it depends on calendar, etc.
2017-11-24 20:06:44 -06:00
Doug Coleman
bc285f7072
core: Move multiline and interpolate to core.
...
caveats: peg.ebnf needs to find :> and let[ in "syntax" not locals anymore.
- You have to define a word ``IN: syntax`` before Factor picks up syntax changes
- You have to add a syntax word to core/bootstrap/syntax.factor
2017-11-24 19:12:04 -06:00
Doug Coleman
43628c8340
core: Move more things to core.
...
Tricky things:
f props>> == @ _ are not defined in syntax
2017-11-24 18:42:30 -06:00
Doug Coleman
085dbe716f
core: Move hashtables.identity and hashtables.wrapped into core.
2017-11-24 16:46:47 -06:00
Doug Coleman
b19b521b9c
namespaces.extras: Add a new functors prototype.
...
IN: foo
FUNCTOR: foo goes into the vocab where it's declared
Instantiated ``FOO: bar`` go into ``foo:functors:foo:bar:92801082101``
2017-11-22 15:39:46 -06:00
Doug Coleman
bf82be86b1
Merge branch 'master' into modern-harvey
2017-11-11 11:45:46 -06:00
Doug Coleman
0319ff7920
math: rename >fraction to fraction>parts
2017-10-27 20:21:48 -05:00
John Benediktsson
013adec055
source-files.errors: rename <definition-error> to new-source-file-error.
2017-10-25 10:45:46 -07:00
John Benediktsson
37794a326c
sequences: rename setup-each to (each).
...
...to match (each-from), (2each), and (3each), etc.
2017-10-24 17:22:55 -07:00
John Benediktsson
26b7b20622
sequences: fix map-reduce to have ..a on the stack for the first call.
2017-10-23 18:01:15 -07:00
Doug Coleman
815591e10c
factor: m: { a b } -> M\\ a b
2017-10-12 21:22:41 -05:00
Doug Coleman
4b35f2e0d9
factor: fix bootstrap.
2017-10-04 22:39:20 -05:00