question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

write bang-syntax convertor

See original GitHub issue

We’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:closed
  • Created 4 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
michaelfigcommented, Apr 19, 2019

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.)

0reactions
warnercommented, Dec 4, 2019

in the old repo. this was SwingSet issue 6

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found