Zulip Chat Archive

Stream: general

Topic: Evaluate expression without "modern" editor


Jon Kleiser (Dec 18 2023 at 09:44):

My favorite Mac editor, BBEdit, does not support a language server. So when the Lean docs tells me "To ask Lean to evaluate an expression, write #eval before it in your editor", it makes no sense. Is there another way to quickly evaluate expressions?

Shreyas Srinivas (Dec 18 2023 at 09:47):

When I run lake build, I get the lines of #eval printed among the rest of the output (this being the key pain point).

Shreyas Srinivas (Dec 18 2023 at 09:48):

In general using vscode (or neovim/emacs) is the way to get the best possible experience

Jireh Loreaux (Dec 18 2023 at 18:57):

Jon, the key thing about Lean (or at least, one of the major ones) is its interactivity. You need to use an editor with proper support (VSCode, Emacs, NeoVim).


Last updated: Dec 20 2023 at 11:08 UTC