Commit Graph

30332 Commits (dbfeeebe381dd0c2386238f10eaa25e1777aee93)

Author SHA1 Message Date
Doug Coleman dbfeeebe38 compiler: Ghetto functor hack for now.
Quotations are strings temporarily. This is because unparse is not in core, so you can't just interpolate a quotation text into a template.
2017-12-02 19:54:11 -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 b45af1dcd6 functors: Fix up look sharp 2017-12-02 12:01:02 -06:00
Doug Coleman 036bc70a47 specialized-arrays: bootstraps 2017-12-02 10:41:57 -06:00
Doug Coleman 1950722e04 functors2: Fix IN: for same-functor 2017-12-02 10:12:04 -06:00
Doug Coleman 78eea5071b annotations: Use SAME-FUNCTOR: to put in the annotations vocab. 2017-12-02 08:06:38 -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 05387aa750 namespaces.extras: Fix new functors. 2017-11-23 02:44:22 -06:00
Doug Coleman 9eecd977c9 namespaces.extras: Try to use generate-vocab. 2017-11-22 22:32:16 -06:00
Doug Coleman c73541919c ui.backend.cocoa.views: Remove touchbar stuff for now. 2017-11-22 16:28:11 -06:00
Doug Coleman 1a1e407939 bootstrap.image.upload: Change username. 2017-11-22 15:45:31 -06:00
Doug Coleman f79a135a77 Merge remote-tracking branch 'origin/master' into modern-harvey 2017-11-22 15:40:25 -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
John Benediktsson c95a565619 ui.render: fix ghosting in gpu.demos.raytrace. fixes #1881. 2017-11-20 15:02:39 -08:00
John Benediktsson da4550348e gopher.ui: open non-gopher urls using webbrowser vocab. 2017-11-19 14:04:45 -08:00
Jon Harper 2a2aa7f915 ui.backend.x11, implement (fullscreen?) 2017-11-19 13:24:40 -08:00
Doug Coleman bf82be86b1 Merge branch 'master' into modern-harvey 2017-11-11 11:45:46 -06:00
Doug Coleman 8c14132c9b io.files.info.windows: Fix rename. 2017-11-11 14:18:32 -06:00
John Benediktsson d2f3977768 ui.backend.cocoa.views: remove listener touchbar support (temporarily).
... it breaks deploys of other UI apps that aren't the listener.
2017-10-29 15:38:20 -07:00
Doug Coleman ce38445abc modern: line endings 2017-10-27 20:25:43 -05:00
Doug Coleman b9e2b14cf0 modern: fix FOO>bar to \FOO>bar 2017-10-27 20:24:37 -05:00
Doug Coleman 8b2e42300f modern: Fix FOO>bar and remove duplicated words. 2017-10-27 20:24:12 -05:00
Doug Coleman 1fda1f7525 windows: FOO>bar is a section end FOO>, so use \FOO>bar for now. 2017-10-27 20:22:22 -05:00
Doug Coleman 0319ff7920 math: rename >fraction to fraction>parts 2017-10-27 20:21:48 -05:00
John Benediktsson da0ca21fc8 ui.traverse: cleanup tests a little. 2017-10-25 19:00:47 -07:00
John Benediktsson e06b1d7ded ui.traverse: some cleanup, use locals to understand logic better. 2017-10-25 18:06:47 -07:00
John Benediktsson c22e55ce48 ui.gadgets.slots: move to ui.tools.inspector.slots. 2017-10-25 16:17:08 -07:00
John Benediktsson b90f37b13e ui.tools.common: only save tool-dim when not fullscreen. 2017-10-25 16:16:53 -07:00
John Benediktsson c2c879c999 ui.gadgets: remove dependence on ui.tools.common. 2017-10-25 15:56:40 -07:00
John Benediktsson 59af2ae3d7 ui.gadgets.slots: use with-lines like other tools. 2017-10-25 15:48:20 -07:00
John Benediktsson e376724aa8 ui.gadgets.search-tables: remove slot-protocol.
... too much complexity for not enough gain, I think.
2017-10-25 15:41:23 -07:00
John Benediktsson 35efd72f3f merger: remove platforms.txt. 2017-10-25 15:06:03 -07:00
John Benediktsson d1f5282c6d ui.gadgets.labeled: cleanup labeled-gadget words. 2017-10-25 15:00:22 -07:00
John Benediktsson b28bb90167 docs: fix models-range article link. 2017-10-25 14:59:57 -07:00
John Benediktsson 059b6c7a1a merger: no idea what this does, but make it cross-platform. 2017-10-25 13:58:13 -07:00
John Benediktsson 5b4339e429 ui: use (poorly named) white-interior theme word in a few places. 2017-10-25 13:57:35 -07:00
John Benediktsson 10d5d471fe tools.errors.model: remove in favor of ui.tools.error-list. 2017-10-25 12:42:33 -07:00
John Benediktsson af254f7f0f models: change some article names. 2017-10-25 12:10:51 -07:00
John Benediktsson 1a38a6f63a calendar.model: delete in favor of inline timers in lcd vocab. 2017-10-25 11:53:37 -07:00
John Benediktsson 5f43d8ccea images.testing: fix typo in docs. 2017-10-25 11:19:22 -07:00
John Benediktsson 88eff49c13 docs: cleanup some article titles that can be strings. 2017-10-25 11:11:44 -07:00