lean-client-python
lean-client-python copied to clipboard
Document Lean server interface
This relates to Issue #8 (a more comprehensive trio example), but is a little different. In short, I'd like to document all the requests in commands.py
. This will provide a form of documentation of the Lean server interface, probably the best so far. I think I'll be able to incorporate it into the PR for Issue #6, but just in case, I've made it a separate issue.
What kind of documentation are you thinking of? Comments in the .py
, or a separate .md
file?
I was thinking as doc strings in the commands.py
file. That way if you are in an IDE which supports doc strings, it can tell you want to expect from a command. I'd be open to other ideas. (Like Patrick, I agree that really this should be fully documented somewhere else, since other applications also need to use the server.)
@EdAyers added documentation in https://github.com/leanprover-community/lean/pull/443.