about summary refs log tree commit diff homepage
path: root/lib/SMT/main.cpp
blob: 4643d50a798cfbedcbf91186f802a7b35f819407 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "parser_temp.h"
#include "parser.h"

#include <iostream>

using namespace std;
using namespace klee;
using namespace klee::expr;


int main(int argc, char** argv) {
  if (argc != 2) {
    cout << "Usage: " << argv[0] << " <smt-filename>\n";
    return 1;
  }

  CVC3::Parser* parser = new CVC3::Parser(false, argv[1]);
  while (!parser->done()) {
    ExprHandle e = parser->next();
    if (!e.isNull())
      cout << "e: " << e << "\n";
  }
}