Sebastian Ullrich
dc93bc37cc
chore(tests/playground/environment_ext): fix
2019-03-22 22:51:21 +01:00
Leonardo de Moura
3d52298c69
chore(util/sexpr): preparing to port options to Lean
2019-03-22 13:58:16 -07:00
Leonardo de Moura
50207e2c5a
chore(library/constants.txt): remove dead variables
2019-03-22 13:26:48 -07:00
Leonardo de Moura
45c4a78f59
chore(tests/playground/environment_ext): revert accidental commit
2019-03-22 13:26:17 -07:00
Leonardo de Moura
2b76d79791
chore(library/init/core): remove more nonsense
2019-03-22 13:14:20 -07:00
Leonardo de Moura
930653f292
chore(library/init): Unit.star => Unit.unit
...
@kha Our stdlib is starting to match the names we used in our paper :)
2019-03-22 13:06:45 -07:00
Leonardo de Moura
3fe5cf1528
chore(library/init/core): remove another weirdness: the bs at bnot, band and bor
2019-03-22 12:57:31 -07:00
Leonardo de Moura
e1ea2b3948
chore(library/init): fix names and add HasEmptyc instances
2019-03-22 12:38:22 -07:00
Leonardo de Moura
e24ad8c0b5
feat(library/init/core): add HasBeq default instances for types that implement DecidableEq
...
@kha I think code looks less weird if we don't mix Booleans and
propositions in the same expression.
2019-03-22 11:23:45 -07:00
Leonardo de Moura
3202840959
fix(runtime/io): make IO.Ref thread-safe again
...
See new comment at `io.cpp`
2019-03-22 09:59:32 -07:00
Leonardo de Moura
9c9a30d834
chore(stage0): update
2019-03-22 09:39:42 -07:00
Leonardo de Moura
87b066b87e
refactor(library/init): move function.lean definitions to core.lean
2019-03-22 09:33:10 -07:00
Leonardo de Moura
e31c3fde56
chore(library/init): remove dead code, lemma => theorem
2019-03-22 09:27:30 -07:00
Leonardo de Moura
46cb2436d8
chore(library/init/core): remove dead code, and naming convention
2019-03-22 09:19:28 -07:00
Leonardo de Moura
7552b2e1e4
chore(library/init/data/list/basic): mem => Mem
2019-03-22 09:10:21 -07:00
Sebastian Ullrich
5f7a63b34b
feat(shell/lean): accept stand-alone files as input
...
@leodemoura
2019-03-22 14:05:10 +01:00
Sebastian Ullrich
fa0381cecf
fix(library/Makefile): clean STAGE1_OUT too
...
vanished during merge
2019-03-22 10:18:33 +01:00
Leonardo de Moura
548e7c5436
chore(tests/playground): fix playground tests
2019-03-21 18:30:58 -07:00
Leonardo de Moura
452d5107ac
chore(library/init/data/array): naming convention
...
The array read and write operations are now called:
- "Comfortable" version (with runtime bound checks):
`Array.get` and `Array.set` like OCaml.
It is also consistent with `Ref.get` and `Ref.put`,
and `get` and `set` for `MonadState`.
- `Fin` version (without runtime bound checks):
`Array.index` and `Array.update` like in F*.
- `USize` version (without runtime bound checks and unboxing):
`Array.idx` and `Array.updt`.
cc @kha
2019-03-21 18:03:29 -07:00
Leonardo de Moura
4a08d6715a
chore(library/init/data/array): add HasEmptyc instance
2019-03-21 17:06:56 -07:00
Leonardo de Moura
91204a52d6
chore(library/init/data/dlist): Dlist => DList
2019-03-21 17:03:22 -07:00
Leonardo de Moura
3befc219c9
chore(library/init): Empty => empty when it is a function
2019-03-21 17:03:15 -07:00
Leonardo de Moura
4bf41f0036
chore(tests/lean/run/coroutine): fix test
2019-03-21 16:46:53 -07:00
Leonardo de Moura
a79b00d733
chore(runtime, stage0): update Ref primitive operation names
2019-03-21 16:43:54 -07:00
Leonardo de Moura
dfe15cf743
refactor(library/init): use get and set for State EState and Ref
...
TODO: use the same naming convention for array reads and writes.
2019-03-21 16:34:32 -07:00
Leonardo de Moura
0a326c666f
chore(library/init/data/list/basic): use Bool instead of Prop
2019-03-21 16:24:38 -07:00
Leonardo de Moura
1ff920f955
chore(library/init/core): remove dead code
2019-03-21 16:24:20 -07:00
Leonardo de Moura
c802c232a8
chore(shell/CMakeFiles): disable test
...
@kha I disabled this test for now. It seems to fail because we don't
have a `leanpkg.path` there. I thought about hacking the test and adding
a dummy `leanpkg.path` file there, but you might have a better idea.
It is not clear to me why we always need `leanpkg.path` now. It seems
this a new requirement that was introduced when you simplified the
module manager.
2019-03-21 15:11:05 -07:00
Leonardo de Moura
7bb015c6b3
chore(tests/lean): fix more tests
2019-03-21 15:11:05 -07:00
Leonardo de Moura
2cbdb287c3
chore(tests): fix/disable some tests
2019-03-21 15:11:05 -07:00
Leonardo de Moura
b8c786117c
chore(runtime/allocprof): style checker
2019-03-21 15:11:05 -07:00
Leonardo de Moura
64a43e1976
chore(library/init/control/combinators): use namespace
2019-03-21 15:11:05 -07:00
Sebastian Ullrich
f34d37c371
chore(tests): port tests, fix at least compiler tests
2019-03-21 15:11:05 -07:00
Sebastian Ullrich
09c65008f6
fix(library/compiler/emit_cpp): Lean namespace
2019-03-21 15:11:05 -07:00
Sebastian Ullrich
20451918a6
fix(library/constants): more Io -> IO
2019-03-21 15:11:05 -07:00
Leonardo de Moura
c017686f70
fix(frontends/lean/lean_elaborator): pre_equations => preEquations
2019-03-21 15:11:05 -07:00
Sebastian Ullrich
6988a8e69a
fix(library/Makefile): avoid half-finished .cpp files
2019-03-21 15:11:05 -07:00
Sebastian Ullrich
a9416b722d
chore(library/Makefile): move extracted .cpp files back to src/stage1/ so that we can share them between build configs
2019-03-21 15:11:05 -07:00
Leonardo de Moura
bcb78d9454
fix(library/compiler/emit_cpp): another assertion violation
2019-03-21 15:06:46 -07:00
Leonardo de Moura
7982420d8d
fix(library/init/lean/expander, frontends/lean/lean_elaborator): conversion issues
2019-03-21 15:06:46 -07:00
Leonardo de Moura
fd7d676a1d
fix(library/compiler/emit_cpp): tail call arguments may be neutral elements
2019-03-21 15:06:46 -07:00
Leonardo de Moura
5f2b74df72
fix(frontends/lean/util): another mismatch to naming convention change
2019-03-21 15:06:46 -07:00
Leonardo de Moura
25414a1f8d
fix(util/rb_tree.h): make sure it compiles with g++
2019-03-21 15:06:46 -07:00
Leonardo de Moura
870a0456c4
fix(frontends/lean/builtin_exprs): match name used at elaborator.lean
2019-03-21 15:06:46 -07:00
Leonardo de Moura
930164b597
chore(library/init/lean/parser/term): remove hack used during conversion
2019-03-21 15:06:45 -07:00
Sebastian Ullrich
fc40fbb93f
chore(util/rb_tree): suppress warning from suppressing unknown warning
2019-03-21 15:06:45 -07:00
Sebastian Ullrich
cf72e97455
chore(library): capitalize more Props
2019-03-21 15:06:45 -07:00
Sebastian Ullrich
c786673837
chore(library/init/core): more renaming
2019-03-21 15:06:45 -07:00
Sebastian Ullrich
7615c9f92f
chore(library/init/core): style review of the first half
2019-03-21 15:06:45 -07:00
Sebastian Ullrich
d5ec4a4606
chore(frontends/lean/pp): ppAnonymousCtor -> ppAsAnonymousCtor
2019-03-21 15:06:45 -07:00