Leonardo de Moura
|
55ff49d2d5
|
Replace queue.h with pdeque.h
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-12 10:09:54 -07:00 |
|
Leonardo de Moura
|
cd5e45bae2
|
Reduce pvector delta_cell quota on reads. Add example that demonstrates why this is needed.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-12 08:28:24 -07:00 |
|
Leonardo de Moura
|
f7196e05ff
|
Add 'persistent' vectors. We should use the same approach for queues.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-11 19:48:55 -07:00 |
|
Leonardo de Moura
|
ef0e0ad382
|
Add (optional) performance tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-11 19:48:55 -07:00 |
|
Leonardo de Moura
|
ed15a2df9b
|
Use split_reverse_second instead of split and then reverse in queue
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-11 19:48:55 -07:00 |
|
Leonardo de Moura
|
37498f9fb8
|
Add persistent queues
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-11 19:48:54 -07:00 |
|
Leonardo de Moura
|
3657320edb
|
Add basic list functions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-11 19:48:54 -07:00 |
|
Soonho Kong
|
fae6c29237
|
Fix memory leaks in mpfp.h
|
2013-09-10 13:26:14 -07:00 |
|
Leonardo de Moura
|
adfbba6447
|
Fix problem reported by Soonho
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-08 23:10:33 -07:00 |
|
Leonardo de Moura
|
1cee392483
|
Add light_checker: module for extracting the type of (fully elaborated) expressions. It is much faster than type_checker, which infers the type but also check whether the input is type correct or not.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-07 22:33:18 -07:00 |
|
Leonardo de Moura
|
87d3961158
|
Improve elaborator error messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-04 16:36:58 -07:00 |
|
Leonardo de Moura
|
887f696f66
|
Factor duplicate code. Add more comments
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-03 23:27:58 -07:00 |
|
Leonardo de Moura
|
a154f4e439
|
Modify Set command in the default lean frontend. Now, the lean prefix (for lean default frontend specific options) is optional when we are in the lean front-end.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-03 11:07:28 -07:00 |
|
Leonardo de Moura
|
544229e5d3
|
Create pp::unicode option. The idea is to be able to disable unicode characters, but still be able to use mixfix notation.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-03 10:11:45 -07:00 |
|
Leonardo de Moura
|
45d89ace65
|
Fix name clash problem when pretty printing
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-30 13:25:12 -07:00 |
|
Leonardo de Moura
|
fc6cc17925
|
Improve lean pretty printer support for implicit argument annotations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-26 19:19:56 -07:00 |
|
Leonardo de Moura
|
25e47a8a2f
|
Add check_interrupted 'macro'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-25 11:03:09 -07:00 |
|
Leonardo de Moura
|
dc91a7adb8
|
Add Ctrl-C support for interrupting Lean shell.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-24 16:11:35 -07:00 |
|
Leonardo de Moura
|
0b112b6637
|
Add sstream to simplify the generation of exception messages.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-24 11:55:17 -07:00 |
|
Leonardo de Moura
|
be1ea2ddc7
|
Add name_set typedef
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 19:34:10 -07:00 |
|
Leonardo de Moura
|
198fd46fc2
|
Track recursion depth at normalizer. Add fluid let template.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 09:42:49 -07:00 |
|
Leonardo de Moura
|
42a7094ca2
|
Fix bug in display_decimal. Add more mpq tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 09:42:49 -07:00 |
|
Leonardo de Moura
|
fbd25cac9f
|
Add hierarchical names tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-22 08:48:52 -07:00 |
|
Leonardo de Moura
|
1b5fcb80ee
|
Add sexpr tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-22 08:30:52 -07:00 |
|
Leonardo de Moura
|
6272408f12
|
Add format tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-22 08:20:42 -07:00 |
|
Leonardo de Moura
|
3c5f993191
|
Fix bugs in options module. Add more tests.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-22 08:08:55 -07:00 |
|
Leonardo de Moura
|
eb4315baab
|
Add small trick to improve pretty printer performance. Now, deep.lean takes 0.140secs to be processed.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 22:54:58 -07:00 |
|
Leonardo de Moura
|
56d2d2a112
|
Improve pretty printer performance for deep formulas and formats with long lines. Add example that demonstrates performance problem (before: 13 secs, after: 1 sec).
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 22:45:48 -07:00 |
|
Leonardo de Moura
|
31460aa5b8
|
Add option declarations. Add Help.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 17:02:09 -07:00 |
|
Leonardo de Moura
|
ce470f57db
|
Add set options to lean_parser. Add support for disabling unicode output. Use channels in lean_parser.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 12:42:55 -07:00 |
|
Leonardo de Moura
|
6f36611010
|
Fix clang++ error
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-20 20:16:02 -07:00 |
|
Leonardo de Moura
|
3f5a2a83cc
|
Add methods for setting options. Add string output channel.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-20 20:16:02 -07:00 |
|
Leonardo de Moura
|
4fa2468a85
|
Add output_channel and state abstractions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-20 20:16:02 -07:00 |
|
Leonardo de Moura
|
f6ea9fca7d
|
Remove interrupt.cpp. We changed the way we will handle interruptions in Lean.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 20:05:56 -07:00 |
|
Leonardo de Moura
|
b964edfb3e
|
Add interrupt method to type checker.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 20:05:56 -07:00 |
|
Leonardo de Moura
|
eba4172a0c
|
Remove verbosity.cpp, verbosity message channel should not be a global.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 20:05:56 -07:00 |
|
Leonardo de Moura
|
de80db3985
|
Add support for pretty printing Dags. Find unused prefix for naming shared expressions.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 12:04:40 -07:00 |
|
Leonardo de Moura
|
90ad0ba3b3
|
Add is_prefix_of for hierarchical names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 11:43:46 -07:00 |
|
Leonardo de Moura
|
65b4845fbc
|
Add more tests to improve coverage. Fix bug in mpz.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 00:28:50 -07:00 |
|
Leonardo de Moura
|
6edae938b7
|
Improve list iterator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-17 11:31:36 -07:00 |
|
Leonardo de Moura
|
c41b3dc4d8
|
Add kernel_exceptions. The idea is to avoid expression formatting in the kernel. It also allows different frontends to display the error messages is a different way.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 12:51:12 -07:00 |
|
Leonardo de Moura
|
790d4a4447
|
Move pretty printer to frontend. Add support for mixfix pretty printing
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 19:02:28 -07:00 |
|
Leonardo de Moura
|
5395ced0e5
|
Improve comments
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 19:02:28 -07:00 |
|
Leonardo de Moura
|
e9106f7512
|
Delete obsolete function continue_on_violation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 19:02:28 -07:00 |
|
Leonardo de Moura
|
577256fedc
|
Add highlight_keyword, highlight_builtin, highlight_command for consistent formatting
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 19:02:28 -07:00 |
|
Soonho Kong
|
a6f3122146
|
Fix cygwin error caused by the use of thread_local in numerics/float class
|
2013-08-15 13:49:15 -07:00 |
|
Soonho Kong
|
eb29a67395
|
Fix mpfp::operator^= to resolve operator overloading problem
|
2013-08-14 23:49:26 -07:00 |
|
Leonardo de Moura
|
2d74ff5fe0
|
Cache results of the normalizer. Add example that demonstrates the exponential performance improvement.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-14 23:18:50 -07:00 |
|
Leonardo de Moura
|
f604be760d
|
Add helper function for maps.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-14 18:17:18 -07:00 |
|
Leonardo de Moura
|
913fd14549
|
Add operator== to list
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-14 18:17:18 -07:00 |
|