crjdt icon indicating copy to clipboard operation
crjdt copied to clipboard

Update the API

Open Tamriel opened this issue 7 years ago • 3 comments

The JSON CRDT paper was updated: "we have slightly refined the API, improved the clarity of explanations, and added some more examples". It would be great if the crjdt code will be updated to the paper :-)

Tamriel avatar Apr 20 '17 13:04 Tamriel

Agreed! Do you know which parts of the API were changed?

fthomas avatar Apr 20 '17 14:04 fthomas

Fig. 7 in the new paper has now EXPR.insertAfter(v) instead of EXPR.insert(v) EXPR.get(key) instead of EXPR[key] EXPR.idx(i) instead of EXPR.iter and EXPR.next. The rules for evaluating IDX are found at the bottom right of page 7. They replace the ITER rules.

Tamriel avatar Apr 20 '17 14:04 Tamriel

This is great, thanks @Tamriel!

fthomas avatar Apr 21 '17 19:04 fthomas