leanprover-community / leanprover-community/repl

Want to parse ast even in invalid proof.

Open
#118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
228
Forks
71
Avg merge
15m
Merged PRs (30d)
4

Description

I want to do ast parsing. However, it's possible that my code have some error to let the proof not able to continue. In that case, I still want to parse. It seems that Lean Repl haven't implemented this?
See discussion in
https://github.com/augustepoiroux/LeanInteract/issues/24

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the Lean REPL behavior described in this issue and the discussion in augustepoiroux/LeanInteract#24. Clarify how AST parsing should behave when proof elaboration fails, then define completion as the REPL returning the requested AST despite the invalid proof.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.