Leonardo de Moura
|
abc939382b
|
Add Real arithmetic. Fix elaborator for coercions. Now, two overloads are considered ambiguous if they need the same number of coercions. Improve pretty printer for nest infix operators with same precedence and associativity.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-02 13:20:00 -07:00 |
|
Leonardo de Moura
|
e218b92a9d
|
Modify verbose message for Set command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-02 12:29:21 -07:00 |
|
Leonardo de Moura
|
0a67679afb
|
Add natural numbers. Fix how coercions and overloads interact (switch to approach used in C++). Add notation for natural and integer arithmetic. Rename m and u universe variables to M and U.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-02 12:24:29 -07:00 |
|
Leonardo de Moura
|
c97e669f0c
|
Add coercion support in the elaborator and pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-01 19:09:07 -07:00 |
|
Leonardo de Moura
|
42be7a4989
|
Add coercion declarations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-01 18:11:28 -07:00 |
|
Leonardo de Moura
|
d27680d7fc
|
Add support for overloads in the elaborator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-01 14:54:02 -07:00 |
|
Leonardo de Moura
|
a3bbd9fbb5
|
Minimize use the colors in tests. The colors make the diff hard to read
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-01 10:34:57 -07:00 |
|
Leonardo de Moura
|
598daa40bc
|
Refactor elaborator for supporting overloads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-01 10:24:10 -07:00 |
|
Leonardo de Moura
|
447bb6db0e
|
Make sure we have unlimited stack space for testing the scripts
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-09-01 07:58:58 -07:00 |
|
Leonardo de Moura
|
51640ecff8
|
Move files in examples directory to tests directory. They are not real examples
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-31 19:16:30 -07:00 |
|
Leonardo de Moura
|
a5adddaf14
|
Add more tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-31 18:46:18 -07:00 |
|
Leonardo de Moura
|
389f23f356
|
Add test script
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-08-31 18:31:39 -07:00 |
|