Leonardo de Moura
47cd2ee61a
chore(leanpkg): delete
2018-04-10 12:43:17 -07:00
Sebastian Ullrich
0c0646f03b
chore(leanpkg/lean_version): recognize nightlies as releases separate from master
2018-03-20 15:14:45 -07:00
Sebastian Ullrich
69cfdbd290
refactor(init/category): make all monad transformers structures, replace monad classes with has_monad_lift_t wrappers
2018-03-20 14:58:36 -07:00
Sebastian Ullrich
788e8695eb
refactor(init/category/state): replace modify/put (returning unit) with modify'/put' (returning punit)
2018-03-20 14:58:35 -07:00
Sebastian Ullrich
159b45c74f
refactor(init/category/state): introduce monad_state
...
* rename `read/write` to `get/put`, as in Haskell
* define `state` as `state_t id`
2018-03-20 14:58:35 -07:00
Leonardo de Moura
0ad5497462
refactor(library/io): make io easier to extend and use
2018-01-23 15:03:31 -08:00
Sebastian Ullrich
3a1ede2d73
refactor(leanpkg/config_vars): replace with core lib
2018-01-23 11:14:18 -08:00
Sebastian Ullrich
837f015a14
chore(leanpkg/README): remove text redundant with the reference
2018-01-15 09:58:19 +01:00
Sebastian Ullrich
18fb3244e7
feat(leanpkg): add help command
2018-01-15 09:58:19 +01:00
Sebastian Ullrich
49e1cf9a79
feat(leanpkg): leanpkg new/init: initialize git repository to correct branch
2018-01-15 09:58:19 +01:00
Sebastian Ullrich
f047a2b73b
feat(leanpkg): leanpkg add/install user/repo shorthand
2018-01-15 09:58:19 +01:00
Sebastian Ullrich
94cb177677
feat(leanpkg): never delete information from _target
...
Some people seem to be doing development inside it
2018-01-15 09:58:19 +01:00
Sebastian Ullrich
b354feb8b9
fix(leanpkg): mandate path = "src"
...
Fixes #1880
2018-01-15 09:58:19 +01:00
Sebastian Ullrich
6216d6147c
fix(leanpkg/main): avoid recursively executing leanpkg
...
This failed on Windows because CreateProcess was looking for a file named `leanpkg.exe`.
2017-12-30 19:31:55 +01:00
Sebastian Ullrich
3c68f6fa00
fix(leanpkg): fix error message
2017-09-14 18:48:18 +02:00
Gabriel Ebner
292527896a
feat(leanpkg): store Lean version in leanpkg.toml
2017-09-05 08:34:40 +02:00
Sebastian Ullrich
d6db630786
feat(leanpkg): make test imply build
2017-07-27 10:15:42 +02:00
Leonardo de Moura
d5850871da
fix(leanpkg/leanpkg): list.for and monad.for issues
2017-07-26 12:02:08 +01:00
Mario Carneiro
36b2fb228e
fix(leanpkg): fix leanpkg (use list instead of hash_map)
2017-07-26 11:52:10 +01:00
Sebastian Ullrich
3379485d0b
feat(leanpkg): run build after install
2017-07-07 10:21:39 +02:00
Gabriel Ebner
a93528df24
fix(leanpkg): read carriage-return as whitespace
2017-06-29 14:25:59 +02:00
Daniel Selsam
64bd9fd909
feat(leanpkg/main.lean): allow passing extra arguments to Lean
...
Closes #1684 .
2017-06-28 17:24:25 +02:00
Leonardo de Moura
8b88f21c91
refactor(library): add has_to_string back (but it produces unquoted values)
...
See issue #1664
2017-06-18 18:30:10 -07:00
Leonardo de Moura
dc1a1c8540
refactor(library): has_to_string ==> has_repr
...
See issue #1664
This is just the first step to implement proposal described at issue #1664 .
2017-06-18 18:29:19 -07:00
Gabriel Ebner
3c0420230f
fix(leanpkg): typo
2017-06-12 17:54:46 +02:00
Gabriel Ebner
ee4b9bd5c5
fix(leanpkg): run configure after upgrade
2017-06-12 17:48:14 +02:00
Gabriel Ebner
a5677d6456
feat(leanpkg): upgrade command
2017-06-12 17:46:11 +02:00
Gabriel Ebner
dc81915da6
refactor(library): unify char.to_string and char.has_to_string
2017-06-12 16:32:35 +02:00
Gabriel Ebner
bca62c1368
chore(*): remove obsolete .project files
2017-06-12 15:38:17 +02:00
Jeremy Avigad
8de8870124
fix(leanpkg/leanpkg/toml.lean): use correct to_string method for char
2017-06-09 17:18:35 +02:00
Leonardo de Moura
4eefc41b6e
refactor(*): wrap string in a structure
...
We want to make sure string users do not depend on the string
implementation. This is the first step.
We need this refactoring *now* to make sure it will not be
super painful to address issue #1175
2017-06-07 17:30:49 -07:00
Johannes Hölzl
7a855c33cc
fix(leanpkg): keep timeout value when updating the manifest
2017-05-31 20:35:59 +02:00
Leonardo de Moura
59fd4377dd
chore(leanpkg/leanpkg/toml): use mutual recursion and avoid sizeof
2017-05-30 17:43:18 -07:00
Johannes Hölzl
ab6797b74c
feat(leanpkg): support (deterministic) timeout value in leanpkg.toml
2017-05-29 06:52:38 +02:00
Gabriel Ebner
0cd5feed6e
fix(leanpkg/leanpkg): build command: pass correct directory to lean --make
...
Fixes #1607 .
2017-05-26 09:06:59 +02:00
Jared Roesch
191a3d662d
feat(leanpkg): add initial support for test command
2017-05-24 14:55:59 -07:00
Gabriel Ebner
37bde20d07
chore(leanpkg): add readme
2017-05-08 15:28:45 +02:00
Leonardo de Moura
dcfef317f3
chore(leanpkg/leanpkg/main): performance problem is gone
...
It now takes extra 250ms to prove the equational lemmas.
I think it is reasonable.
2017-05-05 11:19:45 -07:00
Gabriel Ebner
4b22e2309c
refactor(system/io): use spawn_args structure in all process functions
2017-05-04 16:41:11 -07:00
Gabriel Ebner
f0d22ed3e5
feat(library/process,system/io): set environment variables for spawned processes
2017-05-04 16:41:11 -07:00
Gabriel Ebner
1b8533130b
feat(system/io): add function to get environment variables
2017-05-04 16:41:11 -07:00
Leonardo de Moura
a0a8103804
chore(frontends/lean): go back to 'c' as notation for characters
...
This suggestion has been discussed at Slack.
We have decided to use #"c" as notation because we wanted to allow `'`
in the beginning of identifiers like in SML and F*. In particular,
we wanted to allow users to use 'a 'b 'c for naming type parameters
like in SML. However, nobody used this notation. In the Lean standard
library, we are using greek letters for naming type parameters.
So, there is no real motivation for the ugly #"c" syntax.
2017-05-02 13:00:51 -07:00
Gabriel Ebner
2084060e97
fix(leanpkg): fix leanpkg build environment
2017-05-01 14:11:39 -07:00
Gabriel Ebner
70c0493f20
refactor(leanpkg): factor out helper functions
2017-05-01 14:11:39 -07:00
Gabriel Ebner
5fac4a78eb
fix(leanpkg): configure after init/new
2017-05-01 14:11:39 -07:00
Gabriel Ebner
649d75961a
fix(leanpkg): remove duplicate configure call
2017-05-01 14:11:39 -07:00
Gabriel Ebner
ed9e7d9066
feat(leanpkg): make add command more awesome
2017-05-01 14:11:39 -07:00
Gabriel Ebner
b26ced100e
feat(leanpkg): support path option to specify source directory
2017-05-01 14:11:39 -07:00
Gabriel Ebner
572a81f963
chore(leanpkg): rename desc to manifest
2017-05-01 14:11:39 -07:00
Gabriel Ebner
135fb20d57
refactor(leanpkg): do not assume range of assignment is search path
2017-05-01 14:11:39 -07:00