Leonardo de Moura
|
a31a25798c
|
feat(util): add fuzzy string search procedure
|
2014-09-05 18:01:09 -07:00 |
|
Leonardo de Moura
|
d75a4739e4
|
refactor(util/name): move string_to_name to name module
|
2014-09-04 13:09:42 -07:00 |
|
Leonardo de Moura
|
24fc89ff70
|
refactor(frontends/lean/server): move option display_value to option_declarations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-02 17:42:21 -07:00 |
|
Leonardo de Moura
|
658e0780a6
|
feat(util/rb_tree): add max (element) method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-30 10:25:12 -07:00 |
|
Leonardo de Moura
|
b9489ce585
|
fix(frontends/let): let-expression pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-29 10:58:27 -07:00 |
|
Leonardo de Moura
|
f4c7154825
|
feat(util/lean_path): throws an exception if there is an ambiguity when importing a module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-27 10:18:35 -07:00 |
|
Leonardo de Moura
|
9484ab6a04
|
fix(util/lean_path): if directory 'foo' does not contain 'default.lean', then we should also check whether the file 'foo.lean' exists or not, fixes #102
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-27 09:04:03 -07:00 |
|
Leonardo de Moura
|
11711a2409
|
fix(util/rb_tree): do not use thread local storage in template when compiling on OSX with clang++ without Boost
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-26 12:46:24 -07:00 |
|
Leonardo de Moura
|
fbf13994d8
|
refactor(*): use + for concatenating format objects
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-24 09:35:25 -07:00 |
|
Leonardo de Moura
|
dbaf81e16d
|
refactor(library): remove unnecessary 'standard' subdirectory
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-23 18:08:09 -07:00 |
|
Leonardo de Moura
|
01736bf82a
|
feat(util/sexpr/format): expose flatten
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-23 12:00:32 -07:00 |
|
Leonardo de Moura
|
9588336c15
|
refactor(kernel/type_checker): remove "global" constraint buffer from type_checker, and use constraint_seq instead
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
4cf3d32e0c
|
chore(*): create alias for std::pair
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
fcf1778ee0
|
feat(util): add sequence object with O(1) concatenation operation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
40f7ef5097
|
feat(shell/lean): display src file name when printing 'file not found in the LEAN_PATH' error, closes #47
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 15:48:31 -07:00 |
|
Leonardo de Moura
|
0d97fff280
|
feat(library/module): include name of corrupted .olean file
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 11:28:44 -07:00 |
|
Leonardo de Moura
|
19daefaec5
|
fix(util/script_state): weird crash with Lua 5.1
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-09 23:13:30 -07:00 |
|
Leonardo de Moura
|
9a6df02683
|
fix(util/name): avoid assertion violation when reading numeric names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-07 08:32:43 -07:00 |
|
Leonardo de Moura
|
b9fadeb86e
|
fix(util/realpath): realpath on cygwin
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 15:06:08 -07:00 |
|
Leonardo de Moura
|
5755ce4bfc
|
fix(util/lean_path): use unix style paths when using cygwin
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 14:45:23 -07:00 |
|
Leonardo de Moura
|
53c7124c2b
|
fix(util/realpath): rename realpath to lrealpath
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-04 14:42:44 -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
|
5611c6a0a0
|
chore(util/lean_path): workaround 'spurious' warning produced by g++ in release mode
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-03 13:28:05 -07:00 |
|
Leonardo de Moura
|
bae9700260
|
fix(frontends/lean/dependencies): take relative paths into account when computing dependencies
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 20:03:51 -07:00 |
|
Leonardo de Moura
|
4b030c5d5f
|
feat(library/module): relative module path
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 19:47:55 -07:00 |
|
Leonardo de Moura
|
8768197c24
|
feat(util/lean_path): add dirname and path_append aux functions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 18:12:28 -07:00 |
|
Leonardo de Moura
|
428d5cfb99
|
chore(util/sexpr/options): typos
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 21:20:01 -07:00 |
|
Leonardo de Moura
|
793b2817ec
|
fix(util/lean_path): clear g_lean_path_vector before (re-)initializing it
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-29 10:57:20 -07:00 |
|
Leonardo de Moura
|
8278700b47
|
feat(build): copy lean executable to bin directory
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-29 10:25:55 -07:00 |
|
Leonardo de Moura
|
83d38674c9
|
feat(kernel/error_msgs): improve cryptic type mismatch error messages where the types may seem identical because key information is being suppressed
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-27 09:41:25 -07:00 |
|
Leonardo de Moura
|
c1b523d642
|
feat(util/worker_queue): allow main thread to process tasks while waiting
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-25 23:24:04 -07:00 |
|
Leonardo de Moura
|
368c94ccc5
|
feat(util/rb_tree): use memory_pool at rb_tree, 5% performance improvement when using multiple threads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 10:53:07 -07:00 |
|
Leonardo de Moura
|
fd7e20f11c
|
fix(util/thread): thread_specific_ptr finalization
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 10:50:44 -07:00 |
|
Leonardo de Moura
|
4c6ebdeaf9
|
perf(util/memory_pool): use memory_pool for hierarchical names and justification objects we get a 8% performance improvement when using multiple threads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 09:18:26 -07:00 |
|
Leonardo de Moura
|
c8b6f0c7fb
|
refactor(util): rename fixed_size_allocator to memory_pool
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 07:49:40 -07:00 |
|
Leonardo de Moura
|
77537d43a3
|
fix(util): add missing file
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 18:58:24 -07:00 |
|
Leonardo de Moura
|
de657e8df0
|
fix(util/rc): reference counter memory_order flags
See discussion at
http://www.chaoticmind.net/~hcb/projects/boost.atomic/doc/atomic/usage_examples.html#boost_atomic.usage_examples.example_reference_counters
http://stackoverflow.com/questions/10268737/c11-atomics-and-intrusive-shared-pointer-reference-count
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 08:23:01 -07:00 |
|
Leonardo de Moura
|
c02629c76d
|
feat(util/lean_path): allow 'import dirname' as shorthand for 'import dirname.default'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 19:59:13 -07:00 |
|
Leonardo de Moura
|
8da44f1cd5
|
feat(frontends/lean/parser): disable quasie-hash consing in new threads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-13 04:11:17 +01:00 |
|
Leonardo de Moura
|
585127ef66
|
fix(util/worker_queue): bug in join method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-12 23:25:43 +01:00 |
|
Leonardo de Moura
|
7ccb9a389c
|
feat(frontends/lean): process theorems in parallel
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-12 22:50:57 +01:00 |
|
Leonardo de Moura
|
0a556c4a91
|
feat(util): add worker queue
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-12 21:59:22 +01:00 |
|
Leonardo de Moura
|
43eba857cb
|
feat(frontends/lean): add let-expr pretty printer, reduce default indentation to 2
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-09 18:47:10 -07:00 |
|
Leonardo de Moura
|
d31cde473e
|
fix(util/sexpr): nested Lua objects
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-09 11:13:17 -07:00 |
|
Leonardo de Moura
|
a84107db3d
|
fix(util/sexpr): Lua 5.1 incompatibility
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-07 12:55:00 -07:00 |
|
Leonardo de Moura
|
ce14ced08e
|
feat(util/sexpr): allow Lua objects to be embedded in Lean s-expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-07 10:45:19 -07:00 |
|
Leonardo de Moura
|
c47d9c01ee
|
fix(util/sexpr): crash in the sexpr Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-07 09:41:14 -07:00 |
|
Leonardo de Moura
|
9a13bef4f3
|
fix(frontends/lean): fix (and simplify) parameter universe inference
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-06 16:56:54 -07:00 |
|
Leonardo de Moura
|
db0ef64c04
|
feat(util/lazy_list_fn): handle the 'is_nil' case more efficiently
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-03 11:29:04 -07:00 |
|
Leonardo de Moura
|
cc3fb0c51f
|
feat(util/name_generator): allow name generator to be created without providing any argument in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-02 12:39:41 -07:00 |
|