charon icon indicating copy to clipboard operation
charon copied to clipboard

Automatically generate json parsing

Open Nadrieril opened this issue 1 year ago • 3 comments

It's tedious to write them by hand. I found https://github.com/serde-ml/serde but it requires ocaml >= 5.1.1. We could write our own generator from rust possibly.

Nadrieril avatar May 30 '24 15:05 Nadrieril

Does it print nice error messages when it fails?

sonmarcho avatar May 30 '24 15:05 sonmarcho

I don't know I couldn't try because of ocaml version mismatches

Nadrieril avatar May 30 '24 15:05 Nadrieril

First big chunk was done here: https://github.com/AeneasVerif/charon/pull/283

Nadrieril avatar Jul 04 '24 09:07 Nadrieril

This is pretty much done now

Nadrieril avatar Sep 16 '24 08:09 Nadrieril