lean4-htt/library/init/lean
Leonardo de Moura 412d0ea578 feat(library/init/lean/options): add setOptionFromString
We can use this primitive to process command line arguments of the form
`-D <key> = <value>`

TODO: allow users to attach `[init]` to definitions of the form
```
@[init] def foo : IO Unit := ...
```
and avoid the awkward auxiliary constant.
2019-03-22 17:26:43 -07:00
..
compiler feat(library/init/lean/options): add registerOption 2019-03-22 17:26:43 -07:00
parser chore(library/init/data/array): add HasEmptyc instance 2019-03-21 17:06:56 -07:00
config.lean chore(*): use lowercase dir names 2019-03-21 15:06:44 -07:00
declaration.lean chore(tests/playground/environment_ext): style and minor changes 2019-03-22 22:51:21 +01:00
default.lean chore(*): use lowercase dir names 2019-03-21 15:06:44 -07:00
disjoint_set.lean chore(*): use lowercase dir names 2019-03-21 15:06:44 -07:00
elaborator.lean feat(library/init/lean/options): add registerOption 2019-03-22 17:26:43 -07:00
expander.lean chore(library/init): Unit.star => Unit.unit 2019-03-22 13:06:45 -07:00
expr.lean feat(library/init/lean/options): add registerOption 2019-03-22 17:26:43 -07:00
extern.lean fix(library/init/lean): [export...] 2019-03-21 15:06:44 -07:00
format.lean chore(*): Uint => UInt, Usize => USize 2019-03-21 15:06:44 -07:00
frontend.lean feat(library/init/lean/options): add registerOption 2019-03-22 17:26:43 -07:00
kvmap.lean refactor(library/init/lean): add MData abbreviation 2019-03-22 17:26:43 -07:00
level.lean chore(*): Uint => UInt, Usize => USize 2019-03-21 15:06:44 -07:00
message.lean chore(library/init): Empty => empty when it is a function 2019-03-21 17:03:15 -07:00
name.lean feat(library/init/lean/name): add String.toName 2019-03-22 17:26:43 -07:00
name_mangling.lean chore(*): use lowercase dir names 2019-03-21 15:06:44 -07:00
options.lean feat(library/init/lean/options): add setOptionFromString 2019-03-22 17:26:43 -07:00
position.lean chore(library): s/Punit/PUnit/g etc 2019-03-21 15:06:45 -07:00
trace.lean refactor(library/init): use get and set for State EState and Ref 2019-03-21 16:34:32 -07:00
util.lean chore(library): unit => Unit 2019-03-21 15:06:44 -07:00