Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deCapnKit: safe serialization for capn #205

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
dfc74a0
toward capper in monte: make hello
dckc Sep 3, 2017
f4352ad
persistentSlot method seems to work
dckc Sep 3, 2017
dcfeb79
[e-lang] Announcing E 0.8.22a: Preliminary Persistence & Upgrade Support
erights Apr 4, 2003
58be1ff
[e-lang] Announcing E 0.8.22a: Preliminary Persistence & Upgrade Support
erights Apr 4, 2003
0a25987
deSubgraphKit and deps: .emaker -> .mt
dckc Sep 4, 2017
9a2d110
deSubgraphKit port: docstrings
dckc Sep 4, 2017
37de015
deSubgraphKit port: lexical fixes
dckc Sep 4, 2017
393b667
deSubgraphKit port: 1-1 name changes
dckc Sep 4, 2017
679c78a
deSubGraphKit: rewrite imports
dckc Sep 4, 2017
79007ec
deSubgraphKit port: implicit returns (to / method)
dckc Sep 4, 2017
5b4c1a7
E-style guards: Guard, NotNull, Tuple
dckc Sep 4, 2017
6853b6b
deSubGraph port: fix / postpone imports
dckc Sep 4, 2017
c3621a7
deSubgraphKit port: mute unused name warnings
dckc Sep 4, 2017
acab891
deSubgraphKit port: runtime name changes
dckc Sep 4, 2017
e567cb9
deSubGraphKit port: handle named args
dckc Sep 4, 2017
6c4554b
deSubgraphKit port: get/2 -> fetch/2
dckc Sep 4, 2017
53804bf
deSubgraphKit: DeepFrozen exports
dckc Sep 4, 2017
a1afc8a
deJSONKit builder
dckc Sep 4, 2017
facc537
deJSONKit test based on uneval.updoc
dckc Sep 4, 2017
ab0ea0b
readOnly facet for maps
dckc Sep 4, 2017
1fd75c5
o.__optUncall() -> o._uncall()
dckc Sep 4, 2017
1437b0f
Monte generic guards use .get() rather than .run()
dckc Sep 4, 2017
1b87fbb
list guards: g[] -> List[g] (cont)
dckc Sep 4, 2017
c02325f
bail on Tuple, for now
dckc Sep 4, 2017
8faaf0a
Merge elib/serial port
dckc Sep 5, 2017
7315228
start porting deMNodeKit, deSrcKit
dckc Sep 9, 2017
bf7612d
deSrcKit builder works in one case
dckc Sep 9, 2017
0a27e87
deMNodeKit: E -> Monte API
dckc Sep 9, 2017
ece921f
deMNodeKit: 1/1 tests
dckc Sep 9, 2017
2d86089
deJSONKit: use static Tuple guard
dckc Sep 9, 2017
e9e7e5e
markupKit works in several cases
dckc Sep 11, 2017
5f2432b
markupKit: fix Element._uncall()
dckc Sep 12, 2017
d3c5b8e
markupKit: handle <link />
dckc Sep 12, 2017
90cfacd
markupKit: handle &amp; in attrs
dckc Sep 12, 2017
06ffb52
markupKit: handle - in Name
dckc Sep 12, 2017
15ff978
markupKit: comments, <!doctype>
dckc Sep 12, 2017
1ef12e4
move elib to mast/lib
dckc Mar 9, 2019
788c7f6
Merge branch 'typhon-serial'
dckc Mar 9, 2019
1ac811c
mast/lib/serial: update import paths
dckc Mar 9, 2019
2b22172
serial/guards: prune Tuple
dckc Mar 9, 2019
dd501cd
deCapnKit (WIP)
dckc Mar 9, 2019
dd3a52b
capnpc: fix a default value
dckc Mar 9, 2019
409f8d6
deCapnKit.buildRoot dumps message bytes
dckc Mar 9, 2019
4403011
deCapnKit: clean up debug traceln
dckc Mar 9, 2019
11d827b
deCapnKit: oops! noun, not import
dckc Mar 9, 2019
268adf5
uneval: send capn message to stdout
dckc Mar 9, 2019
8acce48
deSubGraphKit: to -> method
dckc Mar 11, 2019
5451259
deSubGraphKit: G(T, U) -> G[T, U]
dckc Mar 11, 2019
4c32b31
deSubGraphKit: don't auto-extend FlexList
dckc Mar 11, 2019
50e0082
Merge branch 'serial-port' into serial-re-merge
dckc Mar 11, 2019
c39d61a
deCapnKit.recognize (modulo Char, Double, bigint)
dckc Mar 11, 2019
d1bf539
deCapnKit: Int32 code for Char, digit string for big Int
dckc Mar 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
capnpc: fix a default value
dckc committed Mar 9, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit dd3a52b2a87177f9b712692c924fd4c3223801b3
2 changes: 1 addition & 1 deletion mast/tools/capnpc.mt
Original file line number Diff line number Diff line change
@@ -339,7 +339,7 @@ def fieldWriter(nodeMap, node, _, f, fname) as DeepFrozen:
astBuilder.MapPatternAssoc(
L(f.name()),
astBuilder.FinalPattern(N(name), null, null),
N("absent"),
if (f._which() == 1) { m`[].asMap()` } else { N("absent") },
null)],
null, null)
def structWriterCall := astBuilder.MethodCallExpr(m`structWriter`, innerStructWriter, [m`listPos + (i * $structSize * 8)`, m`builder`] + [for name => _ in (fields) N(name)], [], null)