typhon
typhon copied to clipboard
deCapnKit: safe serialization for capn
includes deSubGraphKit etc. ported from E-on-Java
fixes #203
example from uneval.updoc:
def x := [1, x, 3]
test(s(x), "[1, <**CYCLE**>, 3]")
$ monte eval fun/uneval.mt >cycle.msg
$ capnp convert binary:text capn/montevalue.capnp DataExpr <cycle.msg
( defRec = (
promIndex = 0,
rValue = (
call = (
receiver = (noun = "_makeList"),
message = (
verb = "run",
args = [
( defExpr = (
index = 2,
rValue = (
literal = (int = (int32 = 1)) ) ) ),
(ibid = 0),
( defExpr = (
index = 4,
rValue = (
literal = (int = (int32 = 3)) ) ) ) ],
namedArgs = [] ) ) ) ) )
recognize() is TODO