[DGD] Chained continuations and curl

Felix A. Croes felix at dworkin.nl
Wed Oct 3 23:26:34 CEST 2018


nikoroleva <natasha.i.koroleva at gmail.com> wrote:

> I attempted an outbound connection from the mud to a localhost
> endpoint but did not get intended results. Some guidance on how to
> write an outbound connection would be appreciated.

I think the cloud library is simply lacking proper support for outbound
connections at this point.  You'd have to inherit /kernel/lib/connection
to build your own outbound connection object, which is wrong.

I will add this to my list of things to fix when I have time.


> It turns out that it was a false memory about the imud parser
> discussion; I was thinking of something else, nor can I find that imud
> parser discussion.

The basic concept is as I described: parse as much as you can, keep
the remainder as a sequence of tokens that you prepend when parsing
the next chunk you obtain.  When using parse_string, you can use an
ambiguous grammar for this purpose.

Regards,
Felix Croes



More information about the DGD mailing list