Two flags for printing goals: -upto and -lastgoals#944
Two flags for printing goals: -upto and -lastgoals#944namasikanam wants to merge 2 commits intoEasyCrypt:mainfrom
Conversation
|
Extend and use LSP instead. |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Reopening (I changed my mind). I will review it. I don't think these are the exact options that we want and this will allow LLM to have a rough interface to EasyCrypt when the (to come) MCP is not in used. |
|
@namasikanam Can you explain what instructions you give to an LLM to use these options? Maybe you could document? |
|
@strub These are the instructions I gave. They simply explain the option and the tactic. I can document them. I think they are already documented in the help message. If they need better documenting, do you think where is the best place? Maybe the main readme? For an MCP of EC, I think it's better to have two modes. 1. compilation mode, which are on the top of My design of the usage of these two modes follows how human deals with EC proofs. The compilation mode is used globally to check whether a file is finished or quickly jump to the sticking point, while the interaction mode is used locally to figure out how to close a proof. |
Two flags for printing goals.
-uptocompiles up to a position and prints goals there-lastgoalsprints the last unproven goalsI add these two flags for MCP, so that the coding agent can see the goals as needed.