syndicate-js/TODO.md

60 lines
2.6 KiB
Markdown
Raw Permalink Normal View History

2021-12-13 11:21:29 +00:00
// // v Ideally, this would be of type "Sturdy.SturdyRef | null", but (1) the
// // current Dataflow implementation isn't bright enough to mark valuesas being
// // convertible to preserves values on demand, and (2) null isn't preservesable
// // in any case. If preserves were improved to be able to convert schema-parsed
// // values to preserves on demand, and to know it could do that at the type
// // level, then I could change Dataflow to support any value that could be
// // converted to preserves on demand, and I could special-case null and
// // undefined for the ergonomics.
// field servercap: AnyValue = false;
// on asserted InputValue('#servercap', $v: string) => {
// servercap.value = false;
// try {
// const a = new Reader<Ref>(v).next();
// if (Sturdy.toSturdyRef(a) !== void 0) servercap.value = a;
// } catch (e) {
// console.error(e);
// }
// }
// assert UIAttribute('#servercap', 'class', 'invalid') when (!servercap.value);
2018-11-02 17:11:05 +00:00
- [DONE] `during/spawn`
- [DONE] `during`
2023-02-06 15:08:12 +00:00
- [DONE] `let { LaterThan } = activate require("@syndicate-lang/driver-timer");`
2018-11-02 17:11:05 +00:00
- [DONE] `react`
- [DONE] `spawn*` or similar - looks like `spawn on start { ... }` will do the trick
2018-11-01 23:35:11 +00:00
- [DONE] activation
2018-11-02 17:11:05 +00:00
- [DONE] remove ground dataspace syntax
- [DONE] `spawn :let childVal = parentCalculation { ... }`
2018-11-07 00:36:40 +00:00
- [DONE] better autobuilding for smooth and fast dev; babel uses gulp?
2018-11-14 14:45:06 +00:00
- [DONE] dataspaces, dataspace relays
- [DONE? Surely there's more] pin down and fix the problems with facet field scope (!!)
- [DONE] `npm init @syndicate`
- [DONE] change send syntax from `^ ...` to `send ...` :-(
- Using `^` is too cute. Indentation doesn't work, and forgetting a semicolon causes silent xor!
2018-11-14 14:45:06 +00:00
- [DONE] timer driver
- [DONE] ui driver
- [DONE] web driver
- [DONE] tcp driver
2018-11-02 17:11:05 +00:00
- `defer` statement
- `define/query`
- some kind of `stop facet` statement - put a Symbol on the fields blob?
2018-11-04 20:01:53 +00:00
2018-11-13 14:07:12 +00:00
- other kinds of relay
2018-11-05 17:48:35 +00:00
2018-11-06 10:16:31 +00:00
- alias wrapExternal to index.js
2018-11-06 11:11:15 +00:00
- @syndicate-lang/standalone, analogous to @babel/standalone
2018-11-13 00:03:12 +00:00
- deferTurn should prevent a facet from terminating! This came up in
some formulations of the game-restart logic in the flappy bird
demo.
2018-11-15 23:52:57 +00:00
2018-11-26 15:45:32 +00:00
- driver-streams-node/src/subprocess.js: perhaps figure out some way
of blocking SIGQUIT, which I'm currently using to get debug output,
in children, so they don't terminate too?