leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: lean4

Topic: Understanding Lean's Parser


Akhil Reddimalla (Aug 20 2025 at 20:39):

I want to run Lean's parser to see how it works, how do I actually run the parsers in Lean.Parser.Command? Do I have to figure out a way to construct a parser state and context or is there an easier way?

Mario Carneiro (Aug 21 2025 at 14:35):

see docs#Lean.Parser.runParserCategory


Last updated: Dec 20 2025 at 21:32 UTC

Theme Simple by wildflame © 2016 Powered by jekyll