2013-07-17 05:10:18 +00:00
|
|
|
#include <iostream>
|
|
|
|
#include "version.h"
|
2013-08-18 17:37:00 +00:00
|
|
|
#include "parser.h"
|
|
|
|
using namespace lean;
|
2013-07-17 21:24:35 +00:00
|
|
|
|
2013-07-17 05:10:18 +00:00
|
|
|
int main() {
|
|
|
|
std::cout << "Lean (version " << LEAN_VERSION_MAJOR << "." << LEAN_VERSION_MINOR << ")\n";
|
2013-08-18 17:37:00 +00:00
|
|
|
frontend f;
|
|
|
|
return parse_commands(f, std::cin) ? 0 : 1;
|
2013-07-17 05:10:18 +00:00
|
|
|
}
|