Leonardo de Moura
|
2f699fa53a
|
feat(*): make sections 'permanent', and add 'transient' contexts, closes #88
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-23 15:45:15 -07:00 |
|
Leonardo de Moura
|
955d7d2659
|
fix(library/aliases): namespace and constant have the same name, and 'using' produces the 'empty' alias
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 08:32:21 -07:00 |
|
Leonardo de Moura
|
2dca68e645
|
chore(util/list): add inline functions for commonly used patterns in list processing code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-03 13:51:38 -07:00 |
|
Leonardo de Moura
|
864fdd37da
|
refactor(library/aliases): aliases are from name to names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-27 21:01:59 -07:00 |
|
Leonardo de Moura
|
b43fb7448c
|
feat(frontends/lean): search for identifiers in the stack of namespaces; reject non-atomic names as local names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-07 19:00:06 -07:00 |
|
Leonardo de Moura
|
c16951aba6
|
fix(library/aliases): aliasing behavior
The new test '../../tests/lean/run/alias3.lean' demonstrates the issue being fixed.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-07 15:40:55 -07:00 |
|
Leonardo de Moura
|
6ceecf6a15
|
feat(library/aliases): remove duplicates from aliasing tables
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-07 12:59:57 -07:00 |
|
Leonardo de Moura
|
ce259e6265
|
feat(frontends/lean/parser): add namespace/section/end commands, add support for explicit universe levels, fix Type notation'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 11:34:43 -07:00 |
|
Leonardo de Moura
|
5aca452439
|
feat(library/aliases): add 'exceptions' and support for universes to add_aliases procedure, add for_each_universe method to environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 08:26:05 -07:00 |
|
Leonardo de Moura
|
d50376249f
|
feat(library/aliases): add level aliases
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-12 12:35:02 -07:00 |
|
Leonardo de Moura
|
637eae40ad
|
feat(library/aliases): add support for alias overloading
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-10 10:05:51 -07:00 |
|
Leonardo de Moura
|
45a3ab5141
|
refactor(library/aliases): it is bad design to instantiate parameter using the parameter name, the parameter names have no semantic value
Moreover, we could create type incorrect aliases by "accident".
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-03 15:20:14 -07:00 |
|
Leonardo de Moura
|
33bbcd9526
|
chore(kernel/declaration): rename declaration::get_params to declaration::get_univ_params
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-02 16:20:34 -07:00 |
|
Leonardo de Moura
|
3145cee51f
|
refactor(library/aliases): move replace_prefix to util/name
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-31 15:11:22 -07:00 |
|
Leonardo de Moura
|
1b5366cfb7
|
feat(library): add module for implementing aliases and 'using' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-30 21:42:40 -07:00 |
|