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
|
6efb6c6e83
|
Fix clang++ compilation problem.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-30 09:04:11 -07:00 |
|
Leonardo de Moura
|
2aac94f2e6
|
Refactor elaborator using new metavar library.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-30 01:25:06 -07:00 |
|
Leonardo de Moura
|
682df7699d
|
Fix is_convertible propositions => type
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-30 01:24:06 -07:00 |
|
Leonardo de Moura
|
1f6943e3a4
|
Add head_reduce_mmv (reduction function modulo metavariables)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-29 14:15:17 -07:00 |
|
Leonardo de Moura
|
2cf9ca9345
|
Add metavariable utilities. They will be used to refactor the elaborator.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-29 13:49:22 -07:00 |
|
Leonardo de Moura
|
01e4b4b7fe
|
Add postprocessor functional object to the replace_fn template. Add unit-test that demonstrates how to build a replacer that builds a trace. The trace associates new expressions with the old ones that were used to create it.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-28 10:47:19 -07:00 |
|
Leonardo de Moura
|
cdab19b88c
|
Simplify the elaborator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-27 20:39:38 -07:00 |
|
Leonardo de Moura
|
8dacd97801
|
Remove obsolete commands.
|
2013-08-27 16:03:45 -07:00 |
|
Leonardo de Moura
|
a9c6088d11
|
Uniform notation declarations.
|
2013-08-27 15:59:13 -07:00 |
|
Leonardo de Moura
|
5aae838e1c
|
Add missing mixfix notation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-27 10:09:46 -07:00 |
|
Leonardo de Moura
|
85daaea8ce
|
Rename get_exs in oper to get_deno
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-27 09:49:48 -07:00 |
|
Leonardo de Moura
|
206c7fa203
|
Implement support for notation + implicit arguments. Cleanup pretty printer code for handling implicit arguments.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-27 09:45:00 -07:00 |
|
Leonardo de Moura
|
76c968a5b8
|
Add basic support for hiding implicit arguments when pretty printing.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-26 20:35:10 -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
|
7bca3705ca
|
Add implicit argument declarations to lean parser.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-26 10:16:29 -07:00 |
|
Leonardo de Moura
|
7003f85213
|
Add implicit argument management to lean frontend.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-26 10:16:29 -07:00 |
|
Leonardo de Moura
|
0a34959716
|
Fix a bug. Add another test.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-25 20:43:50 -07:00 |
|
Leonardo de Moura
|
3721577700
|
Fix bugs in elaborator. Cleanup tests.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-25 18:46:33 -07:00 |
|
Leonardo de Moura
|
8f4a844598
|
Fix unit tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-25 11:42:36 -07:00 |
|
Leonardo de Moura
|
7e130ac47f
|
Propagate interrupt to normalizer in the lean frontend
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-25 11:34:46 -07:00 |
|
Leonardo de Moura
|
b42e04297d
|
Add support for creating meta-variables in the parser.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-25 11:18:19 -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
|
ece6e6ca6a
|
Add interrupt to parser. Add elaborator to parser. Add placeholder support in the scanner.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-25 11:02:34 -07:00 |
|
Leonardo de Moura
|
02b72acc2f
|
Add implicit arguments unit tests
|
2013-08-24 18:23:39 -07:00 |
|
Leonardo de Moura
|
ac1267bef3
|
Add expression elaborator to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-24 18:14:09 -07:00 |
|
Leonardo de Moura
|
68e1a1a24a
|
Add metavar_env to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-24 17:51:53 -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
|
f0edf2b4a3
|
Pretty print kernel exceptions. Improve default lean frontend error messages.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-24 13:16:43 -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
|
48ba655bd5
|
Store position at parser_error. It produces better error messages.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-24 11:30:54 -07:00 |
|
Leonardo de Moura
|
55eaef1a44
|
Save position information when parsing expression in the lean default fronted.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-24 09:56:07 -07:00 |
|
Leonardo de Moura
|
bf608a38aa
|
Add head_reduce
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 19:35:33 -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
|
e95a0c2559
|
Modify basic printer for contexts
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 12:11:16 -07:00 |
|
Leonardo de Moura
|
18a195029b
|
Refactor expression equality
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 09:42:49 -07:00 |
|
Leonardo de Moura
|
f08c06d582
|
Add head_beta tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 09:42:49 -07:00 |
|
Leonardo de Moura
|
e7487a1fec
|
Add head_beta function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 09:42:49 -07:00 |
|
Leonardo de Moura
|
670dc5ad55
|
Add option to control maximum recursion depth in the expression normalizer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Conflicts:
src/tests/kernel/normalize.cpp
|
2013-08-23 09:42:49 -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
|
d30c6b2c9d
|
Fix spaces
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
|
218b6ac8b7
|
Fix typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-23 09:42:49 -07:00 |
|
Soonho Kong
|
ca779265e5
|
Update src/CMakeLists.txt to increase stack size for windows build
[skip ci]
|
2013-08-22 21:16:57 -07:00 |
|
Leonardo de Moura
|
f1462dc51e
|
Change lean frontend specific options. Now, frontend specific options must begin with the frontend name.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-22 10:55:55 -07:00 |
|
Leonardo de Moura
|
0f6a7e4a95
|
Rename exprlib to library. Name was misleading, it is more than a library for manipulating expressions.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-22 10:26:52 -07:00 |
|
Leonardo de Moura
|
60fdcf0011
|
Add option_declaration tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-22 08:59:39 -07:00 |
|
Leonardo de Moura
|
5d813c30d0
|
Add missing option test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-22 08:51:33 -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
|
aceae7a1b2
|
Change policy for adding input to readline history.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 19:43:47 -07:00 |
|
Leonardo de Moura
|
bd3b422158
|
Add support for READLINE. Remark: it is not enabled by default. Rename tcmalloc option to TCMALLOC (using consistent name convention for cmake parameters).
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 19:08:44 -07:00 |
|
Leonardo de Moura
|
59e63c0421
|
Add prompt when in interactive mode. Fix Show Environment [num]
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 18:24:26 -07:00 |
|
Leonardo de Moura
|
0ffa76aa5e
|
Fix unused variable warnings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 17:02:09 -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
|
65898f6d5b
|
Add Import command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 17:02:09 -07:00 |
|
Leonardo de Moura
|
90678566b4
|
Improve lambda/pi formatting
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 17:02:09 -07:00 |
|
Soonho Kong
|
5f1c12feb8
|
Fix interval<T>::mul to suppress clang warnings
|
2013-08-21 14:35:46 -07:00 |
|
Soonho Kong
|
c9b6be829e
|
Doxygen: exclude src/tests directory
|
2013-08-21 14:35:46 -07:00 |
|
Soonho Kong
|
3f40953efc
|
Add comments for unicode symbols, fix a typo
|
2013-08-21 14:35:45 -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
|
6534142fb9
|
Fix annoying problem when an integer occurs in the end of a command. Example 'Show 1.' was being parsed as 'Show 1.0'.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 11:57:22 -07:00 |
|
Leonardo de Moura
|
d750469667
|
Move frontend to frontends/lean
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-21 09:04:49 -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
|
7778ae0ade
|
Fix cyclic reference: frontend -> state -> pp_formatter -> frontend. Now pp_formatter is only valid while frontend is still alive. This should not be problem in practice.
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
|
73262e9786
|
Add Echo command. Allow '\' 'n' escape sequence in strings.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-20 20:16:02 -07:00 |
|
Leonardo de Moura
|
57b9a4f2b3
|
Allow square brackets to be used in operator names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-20 20:16:02 -07:00 |
|
Leonardo de Moura
|
fbb021386c
|
Add minor improvement to pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-20 20:16:02 -07:00 |
|
Leonardo de Moura
|
d82c60a314
|
Add test normalizer interrupt
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-20 20:16:02 -07:00 |
|
Soonho Kong
|
fce26a824e
|
Implement dependencies on interval arithmetic functions (+,-,*,/,inv,power), fix problems on trigonometric functions
|
2013-08-20 19:49:50 -07:00 |
|
Soonho Kong
|
176b1fccf7
|
Implement dependencies on interval functions (exp, log, and trigonometric functions)
|
2013-08-20 02:03:24 -07:00 |
|
Leonardo de Moura
|
b2ba0618c9
|
Use normalizer object in type checker. The idea is to make sure the interruption is propagated to normalizer.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 20:05:56 -07:00 |
|
Leonardo de Moura
|
88cc3dc20d
|
Add interrupt to normalizer. Fix tests (they were not using the basic printer).
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 20:05:56 -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
|
f5e0150db3
|
Allow notation to be associated with arbitrary expression (instead of only constants).
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 20:05:56 -07:00 |
|
Leonardo de Moura
|
f0b5ec8dfa
|
Fix bug in parse_arrow
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 20:05:56 -07:00 |
|
Soonho Kong
|
db8322e6e8
|
Fix interval::sin to suppress a warning
|
2013-08-19 16:46:36 -07:00 |
|
Leonardo de Moura
|
754227fc89
|
Pretty print forall/exists expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 15:48:31 -07:00 |
|
Leonardo de Moura
|
986d9635e1
|
Add syntax sugar for forall/exists expressions. Fix problem when pretty printing nested equalities.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 15:48:07 -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
|
b2c877b0c3
|
Add comments to parser.cpp
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-19 09:39:46 -07:00 |
|
Leonardo de Moura
|
ce43c1cbae
|
Fix cup symbol. In Emacs, the unicode characters cup and cap are assigned incorrectly.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 18:43:31 -07:00 |
|
Leonardo de Moura
|
a46bf357b0
|
Fix bug in level.cpp. Add new example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 18:37:47 -07:00 |
|
Leonardo de Moura
|
95cfac426d
|
Add parse_level. Fix bug at environment::is_ge
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 18:25:34 -07:00 |
|
Leonardo de Moura
|
5d609928af
|
Add support for reading input files from the command line.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 16:23:29 -07:00 |
|
Leonardo de Moura
|
aa49eb4b0f
|
Run examples during testing
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 15:51:27 -07:00 |
|
Leonardo de Moura
|
676ebcca3d
|
Add parse_arrow
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 15:44:39 -07:00 |
|
Leonardo de Moura
|
4d5b65fe87
|
Fix bug in parser.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 15:25:20 -07:00 |
|
Leonardo de Moura
|
afd62ced87
|
Add parse_let
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 15:25:20 -07:00 |
|
Leonardo de Moura
|
7a9319b72e
|
Pretty print let expressions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 15:25:20 -07:00 |
|
Leonardo de Moura
|
ae523e33b4
|
Add parse_theorem and parse_definition
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 12:48:42 -07:00 |
|
Leonardo de Moura
|
5d2027d889
|
Add parse_lambda and parse_pi
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 12:34:00 -07:00 |
|
Leonardo de Moura
|
843253355b
|
Improve parser
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 11:02:29 -07:00 |
|
Leonardo de Moura
|
cdccca9316
|
Rename builtin operator if-then-else
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 11:02:29 -07:00 |
|
Leonardo de Moura
|
51280864cf
|
Move '\' character to class b
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 11:02:29 -07:00 |
|
Leonardo de Moura
|
7ec7b4dce8
|
Fix bug in pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 11:02:29 -07:00 |
|
Leonardo de Moura
|
18f319d00f
|
Add more notation
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 11:02:29 -07:00 |
|
Leonardo de Moura
|
823fe6df07
|
Move test from lean.cpp
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 11:02:29 -07:00 |
|
Leonardo de Moura
|
c82a704302
|
Add Lean default application.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-18 11:02:29 -07:00 |
|
Soonho Kong
|
ec83fd8093
|
Fix interval::acosh and add more tests on interval to improve code coverage
|
2013-08-18 01:20:16 -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 |
|
Soonho Kong
|
3b0a7a2d96
|
Update src/CMakeLists.txt to include 'TESTCOV' build
|
2013-08-17 20:58:05 -07:00 |
|
Leonardo de Moura
|
06f1b2a7db
|
Add parse_expr. Add more tests.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-17 18:35:50 -07:00 |
|
Leonardo de Moura
|
685aeae43a
|
Add parser skeleton
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-17 18:13:55 -07:00 |
|
Leonardo de Moura
|
f1961ab33f
|
Add another pp example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-17 12:38:32 -07:00 |
|
Leonardo de Moura
|
80ec48c93d
|
Make sure formatter can be used even when associated frontend is not in scope.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-17 12:33:19 -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
|
a6f36ba546
|
Improve formatter usage. Fix bug in object printer.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-17 11:29:43 -07:00 |
|
Leonardo de Moura
|
0f3af23778
|
Fix crash when trying to format an object created by a different frontend.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-17 11:04:22 -07:00 |
|
Leonardo de Moura
|
b633c866e6
|
Expose environment API in the frontend object. Add support for formatting objects.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-17 10:55:42 -07:00 |
|
Leonardo de Moura
|
c6226c6951
|
Fix typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 20:51:11 -07:00 |
|
Leonardo de Moura
|
15c1c97873
|
Refactor frontend pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 20:40:39 -07:00 |
|
Leonardo de Moura
|
93ab18df71
|
Add context_to_lambda hack
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 20:40:39 -07:00 |
|
Leonardo de Moura
|
0fbfef8eb0
|
Remove sanitize_names from kernel
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 20:40:39 -07:00 |
|
Leonardo de Moura
|
e792e079e2
|
Add formatter API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 20:40:39 -07:00 |
|
Leonardo de Moura
|
cbff5ea856
|
Cleanup
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 20:40:39 -07:00 |
|
Leonardo de Moura
|
111cdd4e62
|
Remove pretty printer from kernel. Add basic printing capability to exprlib module.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 20:40:39 -07:00 |
|
Leonardo de Moura
|
519a290f32
|
Refactor kernel objects
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 20:40:39 -07:00 |
|
Soonho Kong
|
c5cc5d1739
|
Optimize interval functions to reduce rounding-mode switches
|
2013-08-16 19:58:56 -07:00 |
|
Soonho Kong
|
93475ac2eb
|
Clean up interval check function
|
2013-08-16 19:58:56 -07:00 |
|
Soonho Kong
|
3d8eda2239
|
Fix src/tests/interval/CMakeLists.txt to have different test names
|
2013-08-16 19:58:56 -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
|
1038f7346e
|
Refine initialization order. Polish Universe command pretty printer.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 09:30:08 -07:00 |
|
Leonardo de Moura
|
4560527058
|
Conjunction and Disjunction are right associative. Add notation for implication. Use Isabelle precendence levels.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 09:26:05 -07:00 |
|
Leonardo de Moura
|
abab4b667a
|
Define implies using ite operator. Rename mk_bin_op to mk_bin_rop (it is using right associativity). Add mk_bin_lop (for left assoc).
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 09:04:59 -07:00 |
|
Leonardo de Moura
|
1c30c68d2d
|
Refine toplevel API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 09:02:45 -07:00 |
|
Leonardo de Moura
|
d002074419
|
Fix uninitialized variables bug
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-16 09:02:07 -07:00 |
|
Leonardo de Moura
|
07946f9e32
|
Fix bug in pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 20:10:00 -07:00 |
|
Leonardo de Moura
|
efbf3a434d
|
Highlight assignment keyword
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 20:00:12 -07:00 |
|
Leonardo de Moura
|
43fa55723a
|
Pretty print condensed definitions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 19:56:29 -07:00 |
|
Leonardo de Moura
|
5ec2780321
|
Extend formatter with support for definitions and postulates.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 19:26:58 -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
|
d6d221b992
|
Move auxiliary files away from kernel
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 19:02:28 -07:00 |
|
Leonardo de Moura
|
99219f998b
|
Rename files sets.h and maps.h to expr_sets.h and expr_maps.h
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 19:02:28 -07:00 |
|
Leonardo de Moura
|
013fa866fa
|
Add iterator for traversing local objects (i.e., ignores objects defined in ancestor environments)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-15 19:02:28 -07:00 |
|
Leonardo de Moura
|
2b7834c5fc
|
Add methods for creating infix, prefix, postfix operators in the frontend object
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
|
c5db989e38
|
Add csc, sec, cot to interval & add tests for them
|
2013-08-15 17:44:11 -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 |
|