monte-language / typhon

A virtual machine for Monte.
Other
67 stars 10 forks source link

encode any Monte value (object graph) as capn message #203

Open dckc opened 5 years ago

dckc commented 5 years ago

I'm interested to give it a try, based on https://github.com/dckc/capper-mt/blob/master/deJSONKit.mt and nearby stuff.

I guess my next step is to try to get enough stuff from capper-mt wired in to support sending arbitrary value objects sent and reconstituted DanC: here's the demo https://github.com/monte-language/typhon/blob/master/mast/fun/capnDemo/demo.mt Basically I just wrote a trivial schema to demonstrate sending and receiving capn messages (see main() there) * DanC pores over capnDemo/demo.mt DanC: it's mostly plumbing The part that's needed next is a schema to encode any Monte value, and then the uneval stuff hooked up to that
dckc commented 5 years ago

recent discussion shows less enthusiasm for using the whole Kit architecture.