lean4-htt/library/init/lean
Leonardo de Moura 3651dc7618 feat(library/init/lean): add evalConst
The implementation is good enough for implementing extensible parsers,
elaborators and tactics, but there are a few TODOs

1- We should have a better story for standalone applications.
   Most of them don't need `evalConst`, and the global table is
   just initialization overhead.

2- The global table introduces a dependency on the `Lean.Name`
   implementation. So, all standalone applications will depend on it.

3- We are not storing arity 0 constants in the table.
   This one should be easy to fix in the future.
2019-06-07 16:31:28 -07:00
..
compiler feat(library/init/lean/compiler/ir/emitcpp): register functions 2019-06-07 15:34:55 -07:00
parser feat(library/init/lean/parser/identifier): add indentifier.lean back 2019-06-06 15:18:22 -07:00
attributes.lean feat(library/init/lean/compiler): declare function inlining attributes in Lean 2019-06-06 11:05:54 -07:00
declaration.lean feat(library/init/lean): use Environment in the new frontend 2019-05-13 13:04:57 -07:00
default.lean feat(library/init/lean): add evalConst 2019-06-07 16:31:28 -07:00
disjoint_set.lean refactor(library/init/data/hashmap): use AssocList and HasBeq 2019-04-03 05:55:08 -07:00
environment.lean chore(library/init/lean/attributes): add Inhabited instance and improve stats 2019-06-06 10:39:40 -07:00
evalconst.lean feat(library/init/lean): add evalConst 2019-06-07 16:31:28 -07:00
expr.lean feat(library/init/lean/expr): add Expr.quickLt, Expr.eqv 2019-05-15 11:01:25 -07:00
extern.lean fix(library/init/lean/compiler/ir/boxing): created boxed version for externs 2019-05-22 10:56:51 -07:00
format.lean chore(library/init/lean/format): export group 2019-06-07 10:35:04 -07:00
kvmap.lean refactor(library): remove now-redundant parentheses 2019-05-03 13:57:21 +02:00
level.lean refactor(library): remove now-redundant parentheses 2019-05-03 13:57:21 +02:00
message.lean chore(library/init): avoid wf_term_hack 2019-03-27 12:12:21 -07:00
modifiers.lean refactor(library/init/lean/environment): more flexible PersistentEnvExtensionState 2019-06-04 16:35:21 -07:00
name.lean feat(library/init/lean): add evalConst 2019-06-07 16:31:28 -07:00
name_mangling.lean chore(library/init/lean): disable new frontend for now 2019-06-05 15:26:43 -07:00
options.lean feat(library/init/lean): improving options 2019-03-24 09:30:20 -07:00
position.lean feat(library/init/lean/position): add new FileMap 2019-06-05 15:58:53 -07:00
runtime.lean feat(library/init/lean/compiler/ir/rc): missing optimization 2019-05-22 18:46:43 -07:00
smap.lean perf(library/init/lean/environment): search hashmap first 2019-05-15 11:01:25 -07:00
syntax.lean feat(library/init/lean/attributes): add TagAttributes 2019-06-05 21:54:28 -07:00
trace.lean chore(library/init/lean/trace): remove unnecessary unsafe 2019-05-08 14:17:17 -07:00
util.lean chore(library): unit => Unit 2019-03-21 15:06:44 -07:00