Conversation
819cde8 to
9466ccd
Compare
9466ccd to
bc65999
Compare
pnwamk
left a comment
There was a problem hiding this comment.
LGTM modulo minor comments.
|
I haven't followed closely what's been happening with the Python API, but looking at the files here I am a getting worried that we are duplicating a whole bunch of Cryptol in Python, which might lead to maintenance headaches. I am thinking of some of the things in |
This is an excellent idea! I have been uneasy about the fact that we're duplicating code here for a while, but I didn't get to the point where I realized we could just generate it. I'm going to experiment with this. |
I empathize with the overall concerns you describe. This PR is specifically aimed at tidying up As for auto generating the |
bc65999 to
4e4c05e
Compare
|
Inspired by a conversation between me and @pnwamk, I've taken the opposite approach and have deleted as many of these classes as I could. Specifically, I added the I also cleaned up Finally, I updated |
4e4c05e to
6685a6b
Compare
This PR finishes cleaning up
cryptoltypes.py, specifically:lengthFromTotype operator__str__methods for all Cryptol types@dataclasseverywhere possible to avoid writing__repr__and__eq__methods