Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Lean #908

Open
1 task done
juanbelieni opened this issue Jan 3, 2024 · 0 comments
Open
1 task done

Add support for Lean #908

juanbelieni opened this issue Jan 3, 2024 · 0 comments
Labels
help wanted lexer missing Missing a lexer, please contribute

Comments

@juanbelieni
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What is the missing lexer?

Lean is a functional programming language and a proof assistant.

According to the Lean Community Website, they are currently in the middle of switching from using Lean 3 to using Lean 4. Because of this, I propose to have the lean3 and lean4 lexers, and a lean lexer that will be a fallback to lean4.

In the Pygments languages page, it says that it has support for Lean, but I don't know yet how easy it is to port from Pygments to Chroma.

The reference manual for the language can be found here.

Links to existing syntax definitions

@juanbelieni juanbelieni added help wanted lexer missing Missing a lexer, please contribute labels Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted lexer missing Missing a lexer, please contribute
Projects
None yet
Development

No branches or pull requests

1 participant