text/x-lean
*.lean
--
/-
-/
@\[
\]
\#(?:
check(_failure)?
| eval
| print
| reduce
)\b
abbrev
axiom
break
class
continue
def
deriving
do
else
end
example
extends
for
fun
if
in
inductive
instance
let
match
mut
namespace
opaque
open
partial
rec
return
section
structure
then
theorem
universe
variable
where
with
λ
\\(?:
\\
| \"
| \'
| n
| t
| x[0-9a-fA-F]{2}
)
"
"
'
'
0[bB][01]+
| 0[oO][0-7]+
| 0[xX][0-9a-fA-F]+
| [0-9]+
true
false
(?![λΠΣ])[a-zA-Zα-ωΑ-Ωἀ-῾ϊ-ϻ℀-⅏_]
(?:(?![λΠΣ])[a-zA-Zα-ωΑ-Ωἀ-῾ϊ-ϻ℀-⅏_0-9'ⁿ₀-₉ₐ-ₜᵢ-ᵪ])*
| «[^«»\r\n\t]*»