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
Tony Garnock-Jones
7b9f035fa8
tsc package
2021-12-03 01:52:46 +01:00
Tony Garnock-Jones
fb420855e9
Use a global variable instead of threading thisTurn through everywhere. Should improve ergonomics a little.
2021-12-03 01:46:41 +01:00
Tony Garnock-Jones
33948be6b1
Get the JS target basics working
2021-12-03 01:00:47 +01:00
Tony Garnock-Jones
dd14c8471d
Update compiler
2021-12-03 00:55:42 +01:00
Tony Garnock-Jones
f9d1e694e0
Examples and bug-fixes
2021-12-02 16:04:07 +01:00
Tony Garnock-Jones
d51af436f5
Much progress
2021-12-02 14:40:24 +01:00
Tony Garnock-Jones
d2f5c947ac
Bulk copyright notice repair
2021-12-01 17:24:29 +01:00
Tony Garnock-Jones
1563398dd8
More WIP novy
2021-12-01 17:13:00 +01:00
Tony Garnock-Jones
d9bd57d643
Add 'packages/core/protocols/' from commit 'b42230b96a6f8665fdd8e56a52a5e76072a6d182'
...
git-subtree-dir: packages/core/protocols
git-subtree-mainline: c6fff70bae
git-subtree-split: b42230b96a
2021-12-01 16:27:11 +01:00
Tony Garnock-Jones
c6fff70bae
WIP moving to novy
2021-12-01 16:27:06 +01:00
Tony Garnock-Jones
e0957dc25d
Correct package dependencies in examples
2021-06-23 15:45:25 +02:00
Tony Garnock-Jones
25698ce4b0
Publish
...
- @syndicate-lang/compiler@0.2.0
- @syndicate-lang/core@0.6.0
- @syndicate-lang/html@0.1.0
- @syndicate-lang/syndicatec@0.2.0
- @syndicate-lang/timer@0.1.0
- @syndicate-lang/ts-plugin@0.2.0
- @syndicate-lang/tsc@0.2.0
2021-05-17 16:32:39 +02:00
Tony Garnock-Jones
ca8f343a44
Mark example packages as private
2021-05-17 16:32:20 +02:00
Tony Garnock-Jones
dc5c97b027
Major update to @preserves/core from old preserves package.
2021-05-17 16:26:01 +02:00
Tony Garnock-Jones
66aed5c882
Updates to ts-plugin README, and a .dir-locals.el
2021-04-26 16:09:29 +02:00
Tony Garnock-Jones
6bec672087
Switch to yarn workspaces
2021-04-26 15:13:30 +02:00
Tony Garnock-Jones
f338373ac5
README for ts-plugin
2021-04-26 14:21:48 +02:00
Tony Garnock-Jones
ccd87c09f1
Adapt to latest Preserves changes
2021-03-03 10:28:10 +01:00
Tony Garnock-Jones
dd281366c4
Bump preserves
2021-03-02 22:58:31 +01:00
Tony Garnock-Jones
608bdde8c8
New Preserves float interface
2021-02-17 15:36:43 +01:00
Tony Garnock-Jones
730d40b90b
Avoid rollup warning
2021-02-15 20:08:58 +01:00
Tony Garnock-Jones
80b5d2977c
Remove unwanted package-lock.json
2021-01-29 19:59:27 +01:00
Tony Garnock-Jones
63a2146f87
Fix handling of template string substitutions in scanner/reader; timer driver; flappy bird demo; associated repairs
2021-01-29 19:56:12 +01:00
Tony Garnock-Jones
65bae07fc1
Repair dumb logic bugs introduced during port to TypeScript
2021-01-29 15:41:11 +01:00
Tony Garnock-Jones
b5a4a150ac
Transmit actual Nodes across Syndicate bus, rather than HTML string
2021-01-29 15:40:56 +01:00
Tony Garnock-Jones
b0fe7baf25
Remove unwanted debug output
2021-01-29 15:40:30 +01:00
Tony Garnock-Jones
16cacc16db
Repair template instantiation
2021-01-29 15:39:32 +01:00
Tony Garnock-Jones
9e80ba45b8
Bump preserves version
2021-01-29 15:37:40 +01:00
Tony Garnock-Jones
5d2e776ecf
Repair error caused by mutation of a set mid-iteration
2021-01-29 15:37:27 +01:00
Tony Garnock-Jones
a64a8177eb
Repair error caused by collecting fields too early in during
2021-01-29 15:36:53 +01:00
Tony Garnock-Jones
7423479de3
HTML example
2021-01-26 22:10:41 +01:00
Tony Garnock-Jones
82e9457359
More fixes
2021-01-26 22:09:21 +01:00
Tony Garnock-Jones
18f087d18e
Port Syndicate HTML library
2021-01-25 22:19:41 +01:00
Tony Garnock-Jones
690ac12cc0
Many fixes to compiler; watchable syndicate-tsc
2021-01-25 22:16:52 +01:00
Tony Garnock-Jones
9e322c4cfb
Refactor rollup configuration
2021-01-25 22:15:02 +01:00
Tony Garnock-Jones
7332096828
Watchable builds
2021-01-25 22:14:15 +01:00
Tony Garnock-Jones
c82918d9a0
Publish
...
- @syndicate-lang/ts-plugin@0.1.1
2021-01-24 00:17:54 +01:00
Tony Garnock-Jones
0b1208d2fd
Add cwd if no rootDir or rootDirs configured
2021-01-24 00:17:40 +01:00
Tony Garnock-Jones
49a036376a
Publish
...
- @syndicate-lang/compiler@0.1.0
- @syndicate-lang/core@0.5.0
- @syndicate-lang/syndicatec@0.1.0
- @syndicate-lang/ts-plugin@0.1.0
- @syndicate-lang/tsc@0.1.0
2021-01-23 23:55:47 +01:00
Tony Garnock-Jones
2f8e1fb1ca
Split up compiler into more packages
2021-01-23 23:38:00 +01:00
Tony Garnock-Jones
8259c15a7d
Fixup log message locations in syndicate-tsc
2021-01-23 18:20:27 +01:00
Tony Garnock-Jones
99a87be883
tsserver plugin
2021-01-23 00:12:11 +01:00
Tony Garnock-Jones
3908f2ff26
Better source tracking through syndicate/ts
2021-01-20 21:56:01 +01:00
Tony Garnock-Jones
45e8ebef12
Convenience Makefile in example packages
2021-01-20 01:14:33 +01:00
Tony Garnock-Jones
0842c93994
Remove unwanted package-lock.json
2021-01-20 01:08:39 +01:00