syndicate-2017/js/compiler
Tony Garnock-Jones 8546e93e5d Implement Syndicate/js broker-client and chat app.
Support capturing with a pattern in the Syndicate/js DSL: ($foo = bar())

Struct has been cleaned up, and now offers proper Javascript objects
for its prefab-like structures. These can serialize and deserialize
themselves to/from JSON. They behave like prefabs in that two
StructureTypes created with the same label and arity behave
identically wrt Dataspaces and Tries. Sadly, prefab field names had to
go in order to support this.

Facets now track and terminate their children upon termination. This
is experimental; I suspect it is required for nested durings.

DemandMatcher can now support multiple specs, but this is less useful
than you might think since it tracks supply and demand quite naively.
It would have to have (surprise, surprise!) a mux-like structure to do
the job properly!

Added WakeDetector to main.js; adding the broker client will have to
wait until it is turned into a proper module in the src/ directory.
2016-05-10 00:40:53 -04:00
..
README.md Split out compiler to separate syndicatec command 2016-03-19 13:01:14 -04:00
compiler.js Implement Syndicate/js broker-client and chat app. 2016-05-10 00:40:53 -04:00
demo-bankaccount.js Rename "network" to "dataspace" throughout 2016-04-07 09:42:54 +02:00
demo-filesystem.js Rename "network" to "dataspace" throughout 2016-04-07 09:42:54 +02:00
es5.js Get in-browser compilation working using brfs 2016-03-19 14:49:44 -04:00
es5.ohm Get in-browser compilation working using brfs 2016-03-19 14:49:44 -04:00
inbrowser.js Get in-browser compilation working using brfs 2016-03-19 14:49:44 -04:00
syndicate.ohm Support when(...) clause in assert in facets. 2016-05-08 12:19:40 -04:00

README.md

Syndicate/js compiler

Translates ES5 + Syndicate extensions to plain ES5 using Ohm.