← Back to context

Comment by epgui

10 hours ago

Is Lean a DSL? I’d argue it’s a general purpose programming language that excels at proofs.

Well, there’s actually a very small set of operations that allow all computation, so it doesn’t take much to be a DSL and a GP too; I’d be surprised if a proof language couldn’t swing it.

it is a general-purpose programming language. for example, it's standard library allows you to do file io, networking, etc.