write bang-syntax convertor
See original GitHub issueWe’d like to be able to use “bang syntax” in userspace Vat code: x ! foo(y)
. This should be converted into E(x).foo(y)
. This probably wants to be a plugin to our use of rollup
when bundling the vat code into a single string.
If we can accomplish that, we should jump ahead to converting it into E('send', x, 'foo', y)
, and change the E object to match. By providing the method name as a string, we can avoid the need for a Proxy (to glean the method name when it gets looked up), which would be faster and simpler.
The original Promises proposal (http://web.archive.org/web/20161026162206/http://wiki.ecmascript.org/doku.php?id=strawman:concurrency) describes the syntax, although we might need to update some parts of it.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
How do you like my int to bool converter? : r/ProgrammerHumor
Honestly I love double bang syntax ... unscoped enumeration, pointer, or pointer to member type can be converted to a prvalue of type...
Read more >Interrobang: a tiny menu packing a big bang (syntax) (Page 11 ...
Let's say I type "int" and interrobang is the first command in the completion ... qalculate, and qalculate-gtk (which is a great calculator...
Read more >UUCP Mail Interchange Format Standard - » RFC Editor
A pure bang syntax can be used to disambiguate, being written c.d!a!b in the ... A translator from ! to @ format should...
Read more >What does !(function()) mean in JavaScript/jQuery? [duplicate]
It is a short-hand or alternative for self-invoking anonymous function. (function(){ //code })();`. can be written as
Read more >Writing Plugins - StealJS
Steal's plugin API makes it easy to write plugins for module loading that does ... like TypeScript against module source, converting it into...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I may have a go at this for Tessie… I’m already using Babel to do the rewrites from Tessie to Jessie.
(And I would like to use Tessie to write vat code for SwingSet.)
in the old repo. this was SwingSet issue 6