Mirror of https://github.com/leanprover/lean2 in case it ever disappears
Find a file
Leonardo de Moura 9f0dab1add fix(kernel): add declarations for operator<<(std::ostream&, expr const&) and operator<<(std::ostream&, context const&) in the kernel
The actual implementation of these two operators is outside of the
kernel. They are implemented in the file 'library/printer.cpp'.
We declare them in the kernel to prevent the following problem.
Suppose there is a file 'foo.cpp' that does not include
'library/printer.h', but contains

    expr a;
    ...
    std::cout << a << "\n";
    ...

The compiler does not generate an error message. It silently uses the
operator bool() to coerce the expression into a Boolean. This produces
counter-intuitive behavior, and may confuse developers.
2013-09-25 17:45:54 -07:00
doc doc(style): update C++ style guide 2013-09-25 17:44:27 -07:00
examples/lean Fix typo 2013-09-05 19:18:55 -07:00
script Fix typo in script/dropbox_upload.py 2013-09-15 20:31:15 -07:00
src fix(kernel): add declarations for operator<<(std::ostream&, expr const&) and operator<<(std::ostream&, context const&) in the kernel 2013-09-25 17:45:54 -07:00
tests/lean Simplify metavariable context. Now, we have only 'lift' and 'inst' instead of 'subst', 'lift' and 'lower' 2013-09-16 19:32:28 -07:00
.gitignore Add more tests 2013-08-31 18:46:18 -07:00
.travis.osx.yml Update .travis.osx.yml 2013-09-20 18:10:12 -07:00
.travis.windows.yml Update .travis.windows.yml 2013-09-20 13:41:26 -07:00
.travis.yml Update .travis.yml 2013-09-20 13:45:10 -07:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md Add documentation for automatic builds 2013-09-14 11:58:51 -07:00

Build Status Ubuntu 12.04 LTS 64bit, g++-4.8 | clang++-3.3

Build Status Mac OS X 10.8.2, g++-4.9

Build Status Windows, x86_64-w64-mingw32-g++-4.8.1

[Result of Build/UnitTest/Coverage/Dynamic Analysis]

About

Requirements

Installing required packages at

Build Instructions

Miscellaneous