summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/ExtractBase.ml62
1 files changed, 62 insertions, 0 deletions
diff --git a/compiler/ExtractBase.ml b/compiler/ExtractBase.ml
index 92206ece..ddffb1c2 100644
--- a/compiler/ExtractBase.ml
+++ b/compiler/ExtractBase.ml
@@ -915,38 +915,100 @@ let keywords () =
]
| Lean ->
[
+ "Pi";
"Type";
+ "abbrev";
+ "alias";
"as";
+ "at";
+ "attribute";
+ "axiom";
+ "axioms";
+ "begin";
+ "break";
"by";
+ "calc";
+ "catch";
"class";
+ "const";
+ "constant";
+ "constants";
+ "continue";
"decreasing_by";
"def";
+ "definition";
"deriving";
"do";
"else";
"end";
+ "example";
+ "exists";
+ "export";
+ "extends";
"for";
+ "forall";
"from";
+ "fun";
"have";
+ "hiding";
"if";
"import";
+ "in";
+ "include";
"inductive";
+ "infix";
+ "infixl";
+ "infixr";
"instance";
+ "lemma";
"let";
+ "local";
"macro";
+ "macro_rules";
"match";
+ "mut";
+ "mutual";
"namespace";
+ "noncomputable";
+ "notation";
+ "omit";
"opaque";
"opaque_defs";
"open";
+ "override";
+ "parameter";
+ "parameters";
+ "partial";
+ "postfix";
+ "precedence";
+ "prefix";
+ "prelude";
+ "private";
+ "protected";
+ "raw";
+ "record";
+ "reduce";
+ "renaming";
+ "replacing";
+ "reserve";
"run_cmd";
+ "section";
"set_option";
"simp";
"structure";
"syntax";
"termination_by";
"then";
+ "theorem";
+ "theory";
+ "universe";
+ "universes";
+ "unless";
"unsafe";
+ "using";
+ "using_well_founded";
+ "variable";
+ "variables";
"where";
"with";
]