Repository navigation
Expand file tree
/
Copy pathlakefile.toml
More file actions
103 lines (85 loc) · 2.17 KB
/
Copy pathlakefile.toml
File metadata and controls
103 lines (85 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
name = "LeanScript"
version = "0.1.0"
testDriver = "tests"
defaultTargets = [
"HashableFloat",
"LeanScript",
"NonEmpty",
"TyTests",
"TermTests",
"tests",
"LanguageJavascriptMini",
"JsTerm",
"JsSpec",
]
[[require]]
name = "batteries"
scope = "leanprover-community"
rev = "v4.34.0"
[[require]]
name = "aesop"
scope = "leanprover-community"
rev = "v4.34.0"
[[lean_lib]]
name = "HashableFloat"
globs = ["HashableFloat.+"]
[[lean_lib]]
name = "LeanScript"
globs = ["LeanScript.+"]
[[lean_lib]]
name = "NonEmpty"
globs = ["NonEmpty.+"]
[[lean_lib]]
name = "Spec"
globs = ["Spec.+"]
[[lean_lib]]
name = "TyTests"
srcDir = "Tests"
globs = ["TyTests.+"]
[[lean_lib]]
name = "TermTests"
srcDir = "Tests"
globs = ["TermTests.+"]
# The expensive runs moved out of `TyTests`/`TermTests` (compiled, not elaborated):
# `lake exe tests` (or `lake test`).
[[lean_exe]]
name = "tests"
srcDir = "Tests"
root = "Main"
[[lean_lib]]
name = "LanguageJavascriptCommon"
globs = ["LanguageJavascriptCommon.+"]
[[lean_lib]]
name = "LanguageJavascriptMini"
globs = ["LanguageJavascriptMini.+"]
[[lean_lib]]
name = "LeanScriptCli"
globs = ["LeanScriptCli.+"]
# `leanscript FILE.lean`: translate the public functions of a Lean file to JavaScript.
[[lean_exe]]
name = "leanscript"
root = "LeanScriptCli.Main"
supportInterpreter = true
[[lean_lib]]
name = "JsTerm"
globs = ["JsTerm.+"]
# A model of the integer functions of `runtime.js`, with proofs that they compute Lean's
# operations and agree with the old runtime.
[[lean_lib]]
name = "RuntimeSpec"
globs = ["RuntimeSpec.+"]
# Proofs that the de-duplication refactorings (`NumberForm`, …) did not change behaviour.
[[lean_lib]]
name = "RefactorSpec"
globs = ["RefactorSpec.+"]
# Proofs about the generated lookup of the operations (`JsTerm/Ops/`): no extern has two
# candidates at one signature.
[[lean_lib]]
name = "OpsSpec"
globs = ["OpsSpec.+"]
# Proofs, in a model of JavaScript (state and exceptions), of the rewrites of the JavaScript
# backend that `Term` cannot express: `&&`/`||`, merged tests, digits in a concatenation,
# tails shared behind a labelled block, the arms of a case analysis grouped.
[[lean_lib]]
name = "JsSpec"
globs = ["JsSpec.+"]