siddhartha-gadgil / LeanAide

Tools based on AI for helping with Lean 4
Apache License 2.0
65 stars 5 forks source link

Using codeActions #5

Closed siddhartha-gadgil closed 1 year ago

siddhartha-gadgil commented 2 years ago
0art0 commented 2 years ago

I believe that the Try this syntax might already be a part of Lean4, although I could find only a single example in the Lean source, and it does not appear to print directly to the infoview.

siddhartha-gadgil commented 2 years ago

I believe that the Try this syntax might already be a part of Lean4, although I could find only a single example in the Lean source, and it does not appear to print directly to the infoview.

There is no need to use Try as this is our own function. I already have an optional translation function (used for batch translation). I will implement the fallback (maybe also tweak the syntax, where there are extra spaces).

I will make a "project" here so we can keep track.

siddhartha-gadgil commented 1 year ago

This is done.