Commit Graph

773 Commits

Author SHA1 Message Date
Tony Garnock-Jones 70f1289057 Publish
- @syndicate-lang/core@0.15.1
 - @syndicate-lang/create@0.14.2
 - @syndicate-lang/fs@0.15.2
 - @syndicate-lang/html@0.15.2
 - @syndicate-lang/service@0.15.2
 - @syndicate-lang/syndicatec@0.15.1
 - @syndicate-lang/timer@0.15.2
 - @syndicate-lang/ts-plugin@0.16.2
 - @syndicate-lang/tsc@0.16.1
 - @syndicate-lang/ws-relay@0.15.2
2023-05-12 11:33:15 +02:00
Tony Garnock-Jones 7b2ea2aae9 Bump preserves version, other deps 2023-05-12 11:32:17 +02:00
Tony Garnock-Jones 3a78f6c46c Publish
- @syndicate-lang/fs@0.15.1
 - @syndicate-lang/html@0.15.1
 - @syndicate-lang/service@0.15.1
 - @syndicate-lang/timer@0.15.1
 - @syndicate-lang/ts-plugin@0.16.1
 - @syndicate-lang/ws-relay@0.15.1
2023-05-05 13:56:27 +02:00
Tony Garnock-Jones aafb654687 Try harder to be incremental in editContent 2023-05-03 18:20:26 +03:00
Tony Garnock-Jones 1f72baf3ad Log expansion delay 2023-05-03 18:19:48 +03:00
Tony Garnock-Jones 9cf00720f8 Publish
- @syndicate-lang/core@0.15.0
 - @syndicate-lang/fs@0.15.0
 - @syndicate-lang/html@0.15.0
 - @syndicate-lang/service@0.15.0
 - @syndicate-lang/syndicatec@0.15.0
 - @syndicate-lang/timer@0.15.0
 - @syndicate-lang/ts-plugin@0.16.0
 - @syndicate-lang/tsc@0.16.0
 - @syndicate-lang/ws-relay@0.15.0
2023-05-02 16:26:30 +03:00
Tony Garnock-Jones b2084c4d1d Factor out different kinds of IndexObserver 2023-05-02 16:19:38 +03:00
Tony Garnock-Jones 998c4442c9 Publish
- @syndicate-lang/fs@0.14.7
 - @syndicate-lang/html@0.14.7
 - @syndicate-lang/service@0.14.7
 - @syndicate-lang/timer@0.14.7
 - @syndicate-lang/ts-plugin@0.15.3
 - @syndicate-lang/ws-relay@0.14.7
2023-05-02 13:10:59 +03:00
Tony Garnock-Jones a0f87bf687 Monkeypatch ScriptInfo instead of subclassing-and-replacing.
This means we can ditch the whole approach of trying to remove
stale ScriptInfo instances at plugin startup, instead just
endowing existing ones with new behaviour.

This repairs an error where renaming an identifer would perform
spurious edits.
2023-05-02 12:57:22 +03:00
Tony Garnock-Jones 2eb7045b5c Publish
- @syndicate-lang/fs@0.14.6
 - @syndicate-lang/html@0.14.6
 - @syndicate-lang/service@0.14.6
 - @syndicate-lang/timer@0.14.6
 - @syndicate-lang/ts-plugin@0.15.2
 - @syndicate-lang/ws-relay@0.14.6
2023-04-29 09:42:12 +02:00
Tony Garnock-Jones 1008d6acca Update ts-plugin README 2023-04-28 10:38:35 +02:00
Tony Garnock-Jones 075893fc85 Fix up a few of the more egregious problems with the plugin.
TypeScript has been moving on while the plugin has been staying still, and
that has caused the plugin to stop working well. This patch gets things
back into somewhat workable state, but I'm sure more will be required.

Changes include:

 - `hookHost` is no longer required: instead, we hook ts.createSourceFile.

 - `shouldExpand` abstracts away details of whether a file is considered
   Syndicateish or not.

 - The code that does the Syndicate expansion has been abstracted out of
   the detail of how expansion is invoked by the language server.

 - I've had to monkey-patch ScriptInfo in order to get access to the
   `editContent` method.

 - As a consequence, at plugin startup, we invalidate existing ScriptInfo
   instances so they are rebuilt with our SyndicateScriptInfo constructor.
2023-04-28 10:32:49 +02:00
Tony Garnock-Jones 3384acbd62 Cosmetic 2023-04-28 10:23:57 +02:00
Tony Garnock-Jones 40844d2806 Publish
- @syndicate-lang/compiler@0.13.2
 - @syndicate-lang/core@0.14.2
 - @syndicate-lang/fs@0.14.5
 - @syndicate-lang/html@0.14.5
 - @syndicate-lang/service@0.14.5
 - @syndicate-lang/syndicatec@0.14.2
 - @syndicate-lang/timer@0.14.5
 - @syndicate-lang/ts-plugin@0.15.1
 - @syndicate-lang/tsc@0.15.2
 - @syndicate-lang/ws-relay@0.14.5
2023-03-06 23:27:14 +01:00
Tony Garnock-Jones cbcb692db8 Allow fully-discard constructor parameter dicts 2023-03-06 23:26:34 +01:00
Tony Garnock-Jones 545282be32 Repair nested-binder-patterns 2023-03-06 23:26:15 +01:00
Tony Garnock-Jones 44d7d16a82 Publish
- @syndicate-lang/fs@0.14.4
 - @syndicate-lang/html@0.14.4
 - @syndicate-lang/service@0.14.4
 - @syndicate-lang/timer@0.14.4
 - @syndicate-lang/ts-plugin@0.15.0
 - @syndicate-lang/ws-relay@0.14.4
2023-02-14 12:08:24 +01:00
Tony Garnock-Jones 0962c5e41a Implement getDefinitionAndBoundSpan 2023-02-14 12:06:31 +01:00
Tony Garnock-Jones 8a51e87f38 Avoid double-translation of positions (?) 2023-02-14 12:06:19 +01:00
Tony Garnock-Jones a761e7a5b7 Publish
- @syndicate-lang/fs@0.14.3
 - @syndicate-lang/html@0.14.3
 - @syndicate-lang/service@0.14.3
 - @syndicate-lang/timer@0.14.3
 - @syndicate-lang/tsc@0.15.1
 - @syndicate-lang/ws-relay@0.14.3
2023-02-14 11:44:04 +01:00
Tony Garnock-Jones fe78147cb8 Another repair to diagnostic fixup 2023-02-14 11:43:05 +01:00
Tony Garnock-Jones fec72f1269 Publish
- @syndicate-lang/fs@0.14.2
 - @syndicate-lang/html@0.14.2
 - @syndicate-lang/service@0.14.2
 - @syndicate-lang/timer@0.14.2
 - @syndicate-lang/tsc@0.15.0
 - @syndicate-lang/ws-relay@0.14.2
2023-02-14 11:32:52 +01:00
Tony Garnock-Jones 14702c66b9 Dramatic simplifications from using TypeScript-provided machinery which appeared sometime between when this code was originally written and now 2023-02-14 11:32:21 +01:00
Tony Garnock-Jones ef665c0998 Publish
- @syndicate-lang/core@0.14.1
 - @syndicate-lang/create@0.14.1
 - @syndicate-lang/fs@0.14.1
 - @syndicate-lang/html@0.14.1
 - @syndicate-lang/service@0.14.1
 - @syndicate-lang/syndicatec@0.14.1
 - @syndicate-lang/timer@0.14.1
 - @syndicate-lang/ts-plugin@0.14.1
 - @syndicate-lang/tsc@0.14.1
 - @syndicate-lang/ws-relay@0.14.1
2023-02-11 22:06:28 +01:00
Tony Garnock-Jones a51851283f Repair route with no steps 2023-02-11 22:01:19 +01:00
Tony Garnock-Jones 7a09be7141 Merge latest changes from the syndicate-protocols repository 2023-02-11 21:54:43 +01:00
Tony Garnock-Jones d6c4db6a09 Bump again 2023-02-11 18:12:42 +01:00
Tony Garnock-Jones 04ebe2b8e6 Bump required deps 2023-02-11 18:00:41 +01:00
Tony Garnock-Jones 18a4690609 Merge latest changes from the syndicate-protocols repository 2023-02-11 17:48:32 +01:00
Tony Garnock-Jones ea212ade8c Publish
- @syndicate-lang/core@0.14.0
 - @syndicate-lang/create@0.14.0
 - @syndicate-lang/fs@0.14.0
 - @syndicate-lang/html@0.14.0
 - @syndicate-lang/service@0.14.0
 - @syndicate-lang/syndicatec@0.14.0
 - @syndicate-lang/timer@0.14.0
 - @syndicate-lang/ts-plugin@0.14.0
 - @syndicate-lang/tsc@0.14.0
 - @syndicate-lang/ws-relay@0.14.0
2023-02-10 16:49:37 +01:00
Tony Garnock-Jones 1f9ee7a745 Merge latest changes from the syndicate-protocols repository 2023-02-09 23:08:23 +01:00
Tony Garnock-Jones cd5452b624 Implement new gatekeeper protocol for syndicate-js 2023-02-09 22:41:43 +01:00
Tony Garnock-Jones f4c0c826df Merge latest changes from the syndicate-protocols repository 2023-02-09 00:17:37 +01:00
Tony Garnock-Jones 5111a0c141 Merge latest changes from the syndicate-protocols repository 2023-02-08 22:28:19 +01:00
Tony Garnock-Jones 32428e9e67 Merge latest changes from the syndicate-protocols repository 2023-02-08 20:36:50 +01:00
Tony Garnock-Jones d32805e1fb Merge latest changes from the syndicate-protocols repository 2023-02-08 19:39:58 +01:00
Tony Garnock-Jones 31d2eba8b6 Publish
- @syndicate-lang/compiler@0.13.1
 - @syndicate-lang/core@0.13.1
 - @syndicate-lang/fs@0.13.2
 - @syndicate-lang/html@0.13.2
 - @syndicate-lang/service@0.13.2
 - @syndicate-lang/syndicatec@0.13.2
 - @syndicate-lang/timer@0.13.2
 - @syndicate-lang/ts-plugin@0.13.2
 - @syndicate-lang/tsc@0.13.2
 - @syndicate-lang/ws-relay@0.13.2
2023-02-06 23:14:09 +01:00
Tony Garnock-Jones b361f3a40e Require fixed salty-crypto package 2023-02-06 23:13:14 +01:00
Tony Garnock-Jones ce56ffb634 Bump compiler package 2023-02-06 18:12:18 +01:00
Tony Garnock-Jones 32a5de939f Publish
- @syndicate-lang/fs@0.13.1
 - @syndicate-lang/html@0.13.1
 - @syndicate-lang/service@0.13.1
 - @syndicate-lang/syndicatec@0.13.1
 - @syndicate-lang/timer@0.13.1
 - @syndicate-lang/ts-plugin@0.13.1
 - @syndicate-lang/tsc@0.13.1
 - @syndicate-lang/ws-relay@0.13.1
2023-02-06 18:09:47 +01:00
Tony Garnock-Jones 8bc7dcf1d6 Correct deps 2023-02-06 18:09:09 +01:00
Tony Garnock-Jones 7478a63a55 Publish
- @syndicate-lang/core@0.13.0
 - @syndicate-lang/create@0.13.0
 - @syndicate-lang/fs@0.13.0
 - @syndicate-lang/html@0.13.0
 - @syndicate-lang/service@0.13.0
 - @syndicate-lang/syndicatec@0.13.0
 - @syndicate-lang/timer@0.13.0
 - @syndicate-lang/ts-plugin@0.13.0
 - @syndicate-lang/tsc@0.13.0
 - @syndicate-lang/ws-relay@0.13.0
2023-02-06 17:40:25 +01:00
Tony Garnock-Jones 0c002036a4 Switch to HMAC-BLAKE2s 2023-02-06 17:34:15 +01:00
Tony Garnock-Jones 53b84db98e Merge latest changes from the syndicate-protocols repository 2023-02-06 17:09:35 +01:00
Tony Garnock-Jones 32d4da6f86 Seconds-based timer protocols 2023-02-06 16:08:12 +01:00
Tony Garnock-Jones 7fdb251c4a Merge latest changes from the syndicate-protocols repository 2023-02-06 15:42:46 +01:00
Tony Garnock-Jones 5030130aef Update attenuations 2023-02-06 15:16:57 +01:00
Tony Garnock-Jones 93fcebc4ce Merge latest changes from the syndicate-protocols repository 2023-02-06 14:48:40 +01:00
Tony Garnock-Jones adc44a0d8c Merge latest changes from the syndicate-protocols repository 2023-02-04 16:32:22 +01:00
Tony Garnock-Jones 6c8dcce135 Publish
- @syndicate-lang/ws-relay@0.12.3
2023-02-04 12:38:55 +01:00
Tony Garnock-Jones c025456bdd Clean up logging 2023-02-04 12:38:37 +01:00
Tony Garnock-Jones cb64bc3213 Publish
- @syndicate-lang/create@0.12.1
2023-02-04 12:32:39 +01:00
Tony Garnock-Jones 4be9d1a8bc Update template to new ws-relay API 2023-02-04 12:32:00 +01:00
Tony Garnock-Jones 2218702cf2 Publish
- @syndicate-lang/create@0.12.0
 - @syndicate-lang/fs@0.11.8
 - @syndicate-lang/html@0.11.14
 - @syndicate-lang/service@0.11.7
 - @syndicate-lang/timer@0.11.12
 - @syndicate-lang/ts-plugin@0.11.12
 - @syndicate-lang/tsc@0.11.12
 - @syndicate-lang/ws-relay@0.12.2
2023-02-04 12:20:12 +01:00
Tony Garnock-Jones 9c0ff4f756 Bump deps, upgrade typescript 2023-02-04 12:17:20 +01:00
Tony Garnock-Jones 1ce2a0a1bd Note re cli.mjs 2023-02-04 11:11:15 +01:00
Tony Garnock-Jones e98782fbe0 Publish
- @syndicate-lang/ws-relay@0.12.1
2023-01-31 16:23:40 +01:00
Tony Garnock-Jones 54c2ddfd99 Try multiple transports in order 2023-01-31 16:22:09 +01:00
Tony Garnock-Jones 60ecab200c Publish
- @syndicate-lang/compiler@0.11.6
 - @syndicate-lang/core@0.12.0
 - @syndicate-lang/create@0.11.5
 - @syndicate-lang/fs@0.11.7
 - @syndicate-lang/html@0.11.13
 - @syndicate-lang/service@0.11.6
 - @syndicate-lang/syndicatec@0.11.11
 - @syndicate-lang/timer@0.11.11
 - @syndicate-lang/ts-plugin@0.11.11
 - @syndicate-lang/tsc@0.11.11
 - @syndicate-lang/ws-relay@0.12.0
2023-01-31 15:21:26 +01:00
Tony Garnock-Jones 2608e259ba Noise protocol initiator 2023-01-31 15:19:29 +01:00
Tony Garnock-Jones c60bd13cdc Expose noise schema 2023-01-30 22:36:40 +01:00
Tony Garnock-Jones 31e34039dc Cope with teardown of supervisor 2023-01-30 22:35:54 +01:00
Tony Garnock-Jones 0922c6e9b1 Merge latest changes from the syndicate-protocols repository 2023-01-27 12:52:37 +01:00
Tony Garnock-Jones 962d6f0038 Merge latest changes from the syndicate-protocols repository 2023-01-27 12:47:05 +01:00
Tony Garnock-Jones 4adcfdd0ab Update copyrights 2023-01-17 11:44:05 +01:00
Tony Garnock-Jones 00ec198908 Publish
- @syndicate-lang/core@0.11.9
 - @syndicate-lang/fs@0.11.6
 - @syndicate-lang/html@0.11.12
 - @syndicate-lang/service@0.11.5
 - @syndicate-lang/syndicatec@0.11.10
 - @syndicate-lang/timer@0.11.10
 - @syndicate-lang/ts-plugin@0.11.10
 - @syndicate-lang/tsc@0.11.10
 - @syndicate-lang/ws-relay@0.11.10
2023-01-11 11:50:52 +01:00
Tony Garnock-Jones fe427a67be Repair relay pins, to pin target refs too 2023-01-11 11:49:35 +01:00
Tony Garnock-Jones eaa7268c9b Publish
- @syndicate-lang/compiler@0.11.5
 - @syndicate-lang/core@0.11.8
 - @syndicate-lang/fs@0.11.5
 - @syndicate-lang/html@0.11.11
 - @syndicate-lang/service@0.11.4
 - @syndicate-lang/syndicatec@0.11.9
 - @syndicate-lang/timer@0.11.9
 - @syndicate-lang/ts-plugin@0.11.9
 - @syndicate-lang/tsc@0.11.9
 - @syndicate-lang/ws-relay@0.11.9
2022-10-18 21:39:51 +02:00
Tony Garnock-Jones bdb1c2a238 Remove obsolete subpackage makefile 2022-10-18 21:37:13 +02:00
Tony Garnock-Jones 576023fb8a Publish
- @syndicate-lang/create@0.11.4
 - @syndicate-lang/html@0.11.10
2022-10-18 21:28:50 +02:00
Tony Garnock-Jones 9cb312ddd3 Fix up types 2022-10-18 21:27:27 +02:00
Tony Garnock-Jones ef88fa5aec Avoid crypto.randomUUID because it is only available in "secure" contexts 2022-10-18 21:01:47 +02:00
Tony Garnock-Jones d57bcd06c4 preserves.dev 2022-05-24 13:53:18 +02:00
Tony Garnock-Jones 886f8bff6d Publish
- @syndicate-lang/html@0.11.9
2022-05-03 16:23:29 +02:00
Tony Garnock-Jones 61e8f38815 Add UIFragmentRecord type 2022-05-03 16:23:12 +02:00
Tony Garnock-Jones 6d85d220f7 Publish
- @syndicate-lang/fs@0.11.4
2022-05-03 10:38:03 +02:00
Tony Garnock-Jones d08cd095fc Expose awaitWriteFinish configuration 2022-05-03 10:37:51 +02:00
Tony Garnock-Jones ef4cbe0a06 Publish
- @syndicate-lang/core@0.11.7
 - @syndicate-lang/fs@0.11.3
 - @syndicate-lang/html@0.11.8
 - @syndicate-lang/service@0.11.3
 - @syndicate-lang/syndicatec@0.11.8
 - @syndicate-lang/timer@0.11.8
 - @syndicate-lang/ts-plugin@0.11.8
 - @syndicate-lang/tsc@0.11.8
 - @syndicate-lang/ws-relay@0.11.8
2022-04-30 14:57:19 +03:00
Tony Garnock-Jones 5b835dc13a Repair quasipattern parameter passing for union types 2022-04-30 14:54:56 +03:00
Tony Garnock-Jones 7668dbb401 Support selection of a particular variant in quasipatterns 2022-04-30 14:24:07 +03:00
Tony Garnock-Jones 9d54abe6f5 Publish
- @syndicate-lang/fs@0.11.2
2022-04-28 23:33:15 +03:00
Tony Garnock-Jones b41afe94ae Expose syndicate-fs script 2022-04-28 23:33:00 +03:00
Tony Garnock-Jones 0e97da1377 Publish
- @syndicate-lang/core@0.11.6
 - @syndicate-lang/fs@0.11.1
 - @syndicate-lang/html@0.11.7
 - @syndicate-lang/service@0.11.2
 - @syndicate-lang/syndicatec@0.11.7
 - @syndicate-lang/timer@0.11.7
 - @syndicate-lang/ts-plugin@0.11.7
 - @syndicate-lang/tsc@0.11.7
 - @syndicate-lang/ws-relay@0.11.7
2022-04-28 23:17:57 +03:00
Tony Garnock-Jones 148868da83 Split out serve function in @syndicate-lang/fs 2022-04-28 23:14:59 +03:00
Tony Garnock-Jones 8052ee00b5 @syndicate-lang/fs 2022-04-28 23:06:08 +03:00
Tony Garnock-Jones c7fb679987 Specify main module for @syndicate-lang/service 2022-04-28 23:03:44 +03:00
Tony Garnock-Jones 4a49e6a314 Generalize fields to all is()ables 2022-04-28 23:03:30 +03:00
Tony Garnock-Jones dae63d6961 Publish
- @syndicate-lang/service@0.11.1
2022-04-27 22:20:15 +03:00
Tony Garnock-Jones ffb5402148 @syndicate-lang/service 2022-04-27 22:19:10 +03:00
Tony Garnock-Jones 6a0ecb0caa Publish
- @syndicate-lang/create@0.11.3
2022-04-22 14:46:46 +02:00
Tony Garnock-Jones 4d0febe833 Add typescript-language-server 2022-04-22 14:46:35 +02:00
Tony Garnock-Jones f4b5eaed39 Publish
- @syndicate-lang/create@0.11.2
2022-04-22 14:16:31 +02:00
Tony Garnock-Jones c25f42b30c Update README 2022-04-22 14:15:09 +02:00
Tony Garnock-Jones 6cb509ff2e Publish
- @syndicate-lang/create@0.11.1
2022-04-22 14:05:23 +02:00
Tony Garnock-Jones de0cfbcb85 Minor fixes to template 2022-04-22 14:05:10 +02:00
Tony Garnock-Jones 38f3d05fe0 Publish
- @syndicate-lang/compiler@0.11.4
 - @syndicate-lang/core@0.11.5
 - @syndicate-lang/create@0.11.0
 - @syndicate-lang/html@0.11.6
 - @syndicate-lang/syndicatec@0.11.6
 - @syndicate-lang/timer@0.11.6
 - @syndicate-lang/ts-plugin@0.11.6
 - @syndicate-lang/tsc@0.11.6
 - @syndicate-lang/ws-relay@0.11.6
2022-04-22 13:56:36 +02:00
Tony Garnock-Jones 9c4e96d585 @syndicate-lang/create package 2022-04-22 13:54:49 +02:00
Tony Garnock-Jones c66168206b Accept literal values able to __as_preserve__ themselves 2022-04-22 13:49:15 +02:00
Tony Garnock-Jones 074568bb91 Update package.json repository fields 2022-04-22 11:49:27 +02:00
Tony Garnock-Jones 290419b805 Merge latest changes from the syndicate-protocols repository 2022-02-04 20:50:51 +01:00
Tony Garnock-Jones d6b89e466d Publish
- @syndicate-lang/compiler@0.11.3
 - @syndicate-lang/core@0.11.4
 - @syndicate-lang/html@0.11.5
 - @syndicate-lang/syndicatec@0.11.5
 - @syndicate-lang/timer@0.11.5
 - @syndicate-lang/ts-plugin@0.11.5
 - @syndicate-lang/tsc@0.11.5
 - @syndicate-lang/ws-relay@0.11.5
2022-01-26 17:08:32 +01:00
Tony Garnock-Jones 2953a9caf5 Bump required versions, adding patchlevels because of the recent stringify fixes 2022-01-26 17:05:58 +01:00
Tony Garnock-Jones 8d16071f90 Add clean/veryclean targets 2022-01-26 17:05:40 +01:00
Tony Garnock-Jones 6be4f9742b Publish
- @syndicate-lang/core@0.11.3
 - @syndicate-lang/html@0.11.4
 - @syndicate-lang/syndicatec@0.11.4
 - @syndicate-lang/timer@0.11.4
 - @syndicate-lang/ts-plugin@0.11.4
 - @syndicate-lang/tsc@0.11.4
 - @syndicate-lang/ws-relay@0.11.4
2022-01-26 16:26:44 +01:00
Tony Garnock-Jones 974d74023c Fixup wrt new preserves interfaces 2022-01-26 16:26:35 +01:00
Tony Garnock-Jones cfed352f40 Publish
- @syndicate-lang/compiler@0.11.2
 - @syndicate-lang/core@0.11.2
 - @syndicate-lang/html@0.11.3
 - @syndicate-lang/syndicatec@0.11.3
 - @syndicate-lang/timer@0.11.3
 - @syndicate-lang/ts-plugin@0.11.3
 - @syndicate-lang/tsc@0.11.3
 - @syndicate-lang/ws-relay@0.11.3
2022-01-26 14:44:59 +01:00
Tony Garnock-Jones cdd1c2393d Bump preserves dep 2022-01-26 14:44:35 +01:00
Tony Garnock-Jones c3dfd42a58 Bump copyright years 2022-01-26 14:38:38 +01:00
Tony Garnock-Jones b53d606705 Publish
- @syndicate-lang/html@0.11.2
 - @syndicate-lang/syndicatec@0.11.2
 - @syndicate-lang/timer@0.11.2
 - @syndicate-lang/ts-plugin@0.11.2
 - @syndicate-lang/tsc@0.11.2
 - @syndicate-lang/ws-relay@0.11.2
2022-01-24 14:43:23 +01:00
Tony Garnock-Jones 781dc406c5 Fix dependency error 2022-01-24 14:43:15 +01:00
Tony Garnock-Jones 6d58bcabe4 Publish
- @syndicate-lang/compiler@0.11.1
 - @syndicate-lang/core@0.11.1
 - @syndicate-lang/html@0.11.1
 - @syndicate-lang/syndicatec@0.11.1
 - @syndicate-lang/timer@0.11.1
 - @syndicate-lang/ts-plugin@0.11.1
 - @syndicate-lang/tsc@0.11.1
 - @syndicate-lang/ws-relay@0.11.1
2022-01-24 14:16:58 +01:00
Tony Garnock-Jones 8746694777 Bring compiler's version number in line with the rest 2022-01-24 14:16:38 +01:00
Tony Garnock-Jones 5560ce5aa1 Upgrade Preserves, allowing automatic conversion to Preserves values in many cases 2022-01-24 14:13:46 +01:00
Tony Garnock-Jones c5f69295a2 Somewhat-typed templating for fragments of HTML/SVG/etc 2022-01-24 09:10:43 +01:00
Tony Garnock-Jones 431a7f49b0 Allow passing of nodes directly to UIFragment.html 2022-01-24 09:10:20 +01:00
Tony Garnock-Jones fb83b0e524 Repair placeholder replacement in non-HTML settings 2022-01-24 09:09:58 +01:00
Tony Garnock-Jones ff75fc7107 Expose trace schema (!) 2022-01-24 09:09:25 +01:00
Tony Garnock-Jones b4d0559fe2 Avoid stompling on `this` binding 2022-01-24 09:09:10 +01:00
Tony Garnock-Jones faca72d6b3 Take advantage of new static info propagated by schema compiler 2022-01-24 09:08:56 +01:00
Tony Garnock-Jones 6f07bfafae Ability to generate non-HTML sublanguages, e.g. SVG 2022-01-20 20:48:53 +01:00
Tony Garnock-Jones 83cc561cce Turn.every 2022-01-20 20:48:30 +01:00
Tony Garnock-Jones c20cab0bba Publish
- @syndicate-lang/core@0.11.0
 - @syndicate-lang/html@0.11.0
 - @syndicate-lang/syndicatec@0.11.0
 - @syndicate-lang/timer@0.11.0
 - @syndicate-lang/ts-plugin@0.11.0
 - @syndicate-lang/tsc@0.11.0
 - @syndicate-lang/ws-relay@0.11.0
2022-01-20 15:28:41 +01:00
Tony Garnock-Jones 26eba6b492 Merge latest changes from the syndicate-protocols repository 2022-01-20 15:23:46 +01:00
Tony Garnock-Jones 0291c43730 Merge latest changes from the syndicate-protocols repository 2022-01-17 00:23:18 +01:00
Tony Garnock-Jones 66ee5b7427 Merge latest changes from the syndicate-protocols repository 2022-01-17 00:20:45 +01:00
Tony Garnock-Jones d9e5d8d29c Publish
- @syndicate-lang/core@0.10.7
 - @syndicate-lang/html@0.10.9
 - @syndicate-lang/syndicatec@0.10.8
 - @syndicate-lang/timer@0.10.8
 - @syndicate-lang/ts-plugin@0.10.8
 - @syndicate-lang/tsc@0.10.8
 - @syndicate-lang/ws-relay@0.10.4
2022-01-16 15:23:54 +01:00
Tony Garnock-Jones f8b06ff02a Repair behaviour of (during $x => assert x). 2022-01-16 15:11:01 +01:00
Tony Garnock-Jones 4265343cc8 Publish
- @syndicate-lang/html@0.10.8
2022-01-12 15:44:19 +01:00
Tony Garnock-Jones cc3fac620c Rescan when a fragment changes, to keep property monitor event handlers installed 2022-01-12 15:44:06 +01:00
Tony Garnock-Jones 419adba79b Publish
- @syndicate-lang/core@0.10.6
 - @syndicate-lang/html@0.10.7
 - @syndicate-lang/syndicatec@0.10.7
 - @syndicate-lang/timer@0.10.7
 - @syndicate-lang/ts-plugin@0.10.7
 - @syndicate-lang/tsc@0.10.7
 - @syndicate-lang/ws-relay@0.10.3
2022-01-12 10:51:57 +01:00
Tony Garnock-Jones 08197626a6 Simplify. Why didn't I do it like this before? 2022-01-08 13:38:10 +01:00
Tony Garnock-Jones 3823d3172c Publish
- @syndicate-lang/core@0.10.5
 - @syndicate-lang/html@0.10.6
 - @syndicate-lang/syndicatec@0.10.6
 - @syndicate-lang/timer@0.10.6
 - @syndicate-lang/ts-plugin@0.10.6
 - @syndicate-lang/tsc@0.10.6
 - @syndicate-lang/ws-relay@0.10.2
2021-12-24 20:58:04 -05:00
Tony Garnock-Jones ed8adae3f2 Experiment: run facet teardown in the current turn, immediately, instead of delayed 2021-12-24 17:29:26 -05:00
Tony Garnock-Jones 665d5ab219 Fix (?) LSP config 2021-12-24 15:28:05 -05:00
Tony Garnock-Jones a11b755528 Publish
- @syndicate-lang/core@0.10.4
 - @syndicate-lang/html@0.10.5
 - @syndicate-lang/syndicatec@0.10.5
 - @syndicate-lang/timer@0.10.5
 - @syndicate-lang/ts-plugin@0.10.5
 - @syndicate-lang/tsc@0.10.5
 - @syndicate-lang/ws-relay@0.10.1
2021-12-13 20:23:10 +01:00
Tony Garnock-Jones 90a6e2f41a Adapt to syndicate-protocols changes 2021-12-13 20:20:31 +01:00
Tony Garnock-Jones d737b96465 Merge latest changes from the syndicate-protocols repository 2021-12-13 16:00:35 +01:00
Tony Garnock-Jones a3de480748 Publish
- @syndicate-lang/compiler@0.10.3
 - @syndicate-lang/core@0.10.3
 - @syndicate-lang/html@0.10.4
 - @syndicate-lang/syndicatec@0.10.4
 - @syndicate-lang/timer@0.10.4
 - @syndicate-lang/ts-plugin@0.10.4
 - @syndicate-lang/tsc@0.10.4
 - @syndicate-lang/ws-relay@0.10.0
2021-12-13 13:40:42 +01:00
Tony Garnock-Jones a51054d455 Clean up deps 2021-12-13 13:38:52 +01:00
Tony Garnock-Jones 85f123c777 New preserves-schema-ts invocation style 2021-12-13 13:38:46 +01:00
Tony Garnock-Jones 49283cb4ca Fix repository URLs. 2021-12-13 13:38:28 +01:00
Tony Garnock-Jones ebf578503c Split out @syndicate-lang/ws-relay module 2021-12-13 13:36:38 +01:00
Tony Garnock-Jones 09ae5ddb5b Support optional "when" in "during" 2021-12-13 12:21:11 +01:00
Tony Garnock-Jones 4d42968cd6 Repair an error and a couple of infelicities in quasivalue.ts 2021-12-13 12:20:51 +01:00
Tony Garnock-Jones fca27dda30 Publish
- @syndicate-lang/core@0.10.2
 - @syndicate-lang/html@0.10.3
 - @syndicate-lang/syndicatec@0.10.3
 - @syndicate-lang/timer@0.10.3
 - @syndicate-lang/ts-plugin@0.10.3
 - @syndicate-lang/tsc@0.10.3
2021-12-13 00:00:24 +01:00
Tony Garnock-Jones 11fc55ee7d Use newer preserves versions 2021-12-12 23:58:06 +01:00
Tony Garnock-Jones f24dfb53d5 No need to spawn a relay 2021-12-12 23:54:35 +01:00
Tony Garnock-Jones a9a3a8a66d Bring quasipattern syntax into line with constructor syntax for unary records 2021-12-12 23:54:22 +01:00
Tony Garnock-Jones 2940b80563 Supervision 2021-12-12 23:03:22 +01:00
Tony Garnock-Jones 04bbcd25ab Turn.after 2021-12-12 23:02:58 +01:00
Tony Garnock-Jones 33ac308564 Allow access to new Actor handle on spawn (is this safe?) 2021-12-12 23:02:51 +01:00
Tony Garnock-Jones 951598b7d0 Commit to having onStop shutdownActions run in parent facet context 2021-12-12 23:02:25 +01:00
Tony Garnock-Jones 364c97f357 Repair error in halfLink accounting during facet termination 2021-12-12 23:01:53 +01:00
Tony Garnock-Jones 414b971cee Publish
- @syndicate-lang/compiler@0.10.2
 - @syndicate-lang/core@0.10.1
 - @syndicate-lang/html@0.10.2
 - @syndicate-lang/syndicatec@0.10.2
 - @syndicate-lang/timer@0.10.2
 - @syndicate-lang/ts-plugin@0.10.2
 - @syndicate-lang/tsc@0.10.2
2021-12-11 19:42:50 +01:00
Tony Garnock-Jones 936cdbd3c5 Make during...spawn linked actors always exempt from root facet inert check 2021-12-11 19:42:18 +01:00
Tony Garnock-Jones a0dc76e4e2 Fix copyright headers 2021-12-11 17:23:48 +01:00
Tony Garnock-Jones 5bce99f7fa Publish
- @syndicate-lang/compiler@0.10.1
 - @syndicate-lang/html@0.10.1
 - @syndicate-lang/syndicatec@0.10.1
 - @syndicate-lang/timer@0.10.1
 - @syndicate-lang/ts-plugin@0.10.1
 - @syndicate-lang/tsc@0.10.1
2021-12-11 17:07:02 +01:00
Tony Garnock-Jones 9c8436af1f Repair silly mistake in codegen 2021-12-11 17:06:50 +01:00
Tony Garnock-Jones 89d340cfc8 Publish
- @syndicate-lang/compiler@0.10.0
 - @syndicate-lang/core@0.10.0
 - @syndicate-lang/html@0.10.0
 - @syndicate-lang/syndicatec@0.10.0
 - @syndicate-lang/timer@0.10.0
 - @syndicate-lang/ts-plugin@0.10.0
 - @syndicate-lang/tsc@0.10.0
2021-12-11 17:03:07 +01:00
Tony Garnock-Jones 672be25211 Autolink during...spawn 2021-12-11 16:54:47 +01:00
Tony Garnock-Jones 666a3daac3 More or less cosmetic 2021-12-11 16:54:21 +01:00
Tony Garnock-Jones 92fa548109 Add necessary preventInertCheck calls in the DOM driver 2021-12-11 16:51:02 +01:00
Tony Garnock-Jones c9272ddcc9 Repair typo 2021-12-11 16:49:24 +01:00
Tony Garnock-Jones 3edb680c19 Improve preprocessor error reporting 2021-12-11 16:49:12 +01:00
Tony Garnock-Jones 8888ac3fe9 Dataflow blocks should contribute to facet liveness I guess, since they aren't removable 2021-12-11 15:43:56 +01:00
Tony Garnock-Jones f540b41d73 Optional tracing/dumping for Dataspace 2021-12-11 15:43:32 +01:00
Tony Garnock-Jones 97cfb19852 Move stop continuation *before* a stopping facet's assertions are retracted.
This is a kind of ad-hocish response to an interesting problem. In
previous Syndicates, assertion changes were gathered into *patches*
which *netted out* intra-turn changes. In this implementation, each
change is relayed unchanged, so there is *no netting* going on. The
closest we get is a convention that when things are being replaced,
incoming assertions should be made before outgoing ones are retracted,
so that the kind of glitch that's seen is a double-up of records,
rather than a brief window where no records are present.

So here, by moving the stop continuation into an onStop for the
stopping facet (that nonetheless *executes* in that facet's parent's
context), we allow the following pattern to run without problem
glitching:

    react {
      assert Something(1);
      stop on asserted Condition() => react {
        assert Something(2);
      }
    }

Observers like this...

    during Something(_) => { // **A**
      ...
      during Something($specific) => { // **B**
      }
    }

will see

    + Something(1)
    + Something(2)
    - Something(1)

rather than what they saw before this change,

    + Something(1)
    - Something(1)
    + Something(2)

The consequence is that the line marked **A** above will *remain
active* after this change, with the facet at **B** being replaced,
rather than briefly tearing down the **A** facet when `- Something(1)`
and then creating a fresh one when `+ Something(2)`.

This came up in flappy bird, where I had

    react {
        at mainDs {
            assert ui.html('#board-area', template`<h1 class="score">${score.value}</h1>`);
        }
        at gameDs {
            stop on asserted GameOver() => react {
                at mainDs {
                    assert ui.html(
                        '#board-area',
                        template`<h1 class="score">${score.value}<br/>GAME OVER</h1>`);
                }
            }
        }
    }

which, in combination with the particular implementation of index.ts
in the html package, caused the UIFragment responder to get confused
and to not show the GAME OVER message - the previous score message was
removed, but the new one wasn't manifested in the DOM. Changing the
last `ui.html` above to `ui.context('foo').html` caused the problem to
go away (by making it effectively two unrelated fragments, rather than
a replacement of the content of a single fragment).
2021-12-11 14:04:31 +01:00
Tony Garnock-Jones a035fbf73b Move examples out 2021-12-10 14:25:23 +01:00
Tony Garnock-Jones df7f1c3dd7 Publish
- @syndicate-lang/compiler@0.9.1
 - @syndicate-lang/core@0.9.1
 - @syndicate-lang/html@0.9.1
 - @syndicate-lang/syndicatec@0.9.1
 - @syndicate-lang/timer@0.9.1
 - @syndicate-lang/ts-plugin@0.9.1
 - @syndicate-lang/tsc@0.9.1
2021-12-10 14:03:11 +01:00
Tony Garnock-Jones 1a365f42be Put licences in the place that lerna expects them (?) 2021-12-10 14:02:58 +01:00
Tony Garnock-Jones 3f0bfadc2b Publish
- @syndicate-lang/compiler@0.9.0
 - @syndicate-lang/core@0.9.0
 - @syndicate-lang/html@0.9.0
 - @syndicate-lang/syndicatec@0.9.0
 - @syndicate-lang/timer@0.9.0
 - @syndicate-lang/ts-plugin@0.9.0
 - @syndicate-lang/tsc@0.9.0
2021-12-10 13:35:30 +01:00
Tony Garnock-Jones e001f94757 Update yarn.lock; add yarn prefix to example build commands 2021-12-09 22:33:03 +01:00
Tony Garnock-Jones 74377b87f6 Port html package (and one example) 2021-12-09 22:15:47 +01:00
Tony Garnock-Jones 7a7ad76036 oops - absent pattern name 2021-12-09 22:14:20 +01:00
Tony Garnock-Jones 4db3f45d67 oops - dataspace.boot 2021-12-09 22:14:07 +01:00
Tony Garnock-Jones 32f7a8f5c0 Absent named parameters in quasipatterns are treated as implicit discards 2021-12-09 22:13:05 +01:00
Tony Garnock-Jones e0d76f8dd3 Dataspace.boot 2021-12-09 22:12:41 +01:00
Tony Garnock-Jones 6d7dbaf3b3 Bump to get encoder bugfix 2021-12-09 22:12:14 +01:00
Tony Garnock-Jones 1c1decdb7d Repair type error for dataflow assertions 2021-12-09 22:12:02 +01:00
Tony Garnock-Jones dd4af85296 Allow ancillary data as a side-channel for intra-image value passing 2021-12-09 22:11:46 +01:00
Tony Garnock-Jones 50eaec69ef Repair (?) error when searching for the very last position in a file, such as for a missing close parenthesis 2021-12-09 22:11:11 +01:00
Tony Garnock-Jones a37879695e Use the new pattern quasiquotation support 2021-12-09 18:55:53 +01:00
Tony Garnock-Jones f81cf11ebd Pattern (quasi)quotation 2021-12-09 18:55:18 +01:00
Tony Garnock-Jones d1c79973c5 Repair code generation error for "stop on (...)" handlers 2021-12-09 18:54:43 +01:00
Tony Garnock-Jones 4ec02591c0 Initial QuasiValue support 2021-12-09 18:53:41 +01:00
Tony Garnock-Jones a1c8203b5d Use ES2019 dialect in TypeScript (for Symbol.description) 2021-12-09 18:53:17 +01:00
Tony Garnock-Jones fdf765557e Repair serious error in skeleton indexing (double pop) 2021-12-09 18:52:58 +01:00
Tony Garnock-Jones 58daa8c981 Drop discards in smart pattern constructors 2021-12-09 18:52:42 +01:00
Tony Garnock-Jones 20b83aa5a5 Support stopping a root facet, such as happens when a link between actors is broken 2021-12-09 18:52:22 +01:00
Tony Garnock-Jones 5455392efc Repair typo 2021-12-09 18:51:57 +01:00
Tony Garnock-Jones b5e82cba9b Better Ref printing 2021-12-09 18:51:41 +01:00
Tony Garnock-Jones ffee492fec Debug-dumping of skeleton structure 2021-12-09 18:50:46 +01:00
Tony Garnock-Jones c9da4fcf26 Stack utilities 2021-12-09 18:47:43 +01:00
Tony Garnock-Jones e17fd13442 Bump preserves version 2021-12-09 18:41:42 +01:00
Tony Garnock-Jones 7b137bea06 At least *propagate* unhandlable-binder-guard errors 2021-12-08 14:29:28 +01:00
Tony Garnock-Jones 4ad2dd69a6 Update timer driver. This has exposed problems with pattern quoting and schema support. 2021-12-03 15:38:02 +01:00
Tony Garnock-Jones edbe7bcdac Get ts-plugin working with Emacs and LSP 2021-12-03 15:37:41 +01:00
Tony Garnock-Jones 78834dfb07 Make "at <target> { ... }" require the braces 2021-12-03 15:29:57 +01:00
Tony Garnock-Jones 3486ec928e Comment 2021-12-03 15:29:20 +01:00
Tony Garnock-Jones d8b60ccf76 ts-plugin. Works in VS Code, haven't managed to configure Emacs to work with it yet. 2021-12-03 02:06:17 +01:00