about summary refs log blame commit diff stats
path: root/cpp/boot.cc
blob: 64a0c58efe8648ae40654004044ab38d67603c66 (plain) (tree)


















































                                                                                   
              











                         

                  
// C++ style:
//  no pointers except cell*
//  use long as the default integer type; it's always large enough to hold pointers

#define unused __attribute__((unused))

#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<errno.h>
#include<time.h>
#include<math.h>
#include<vector>
using std::vector;
#include<list>
using std::list;
#include<stack>
using std::stack;
#include<utility>
using std::pair;

#include<tr1/unordered_map>
using std::tr1::unordered_map;
#include<tr1/unordered_set>
using std::tr1::unordered_set;
#include<algorithm>

#include<string>
using std::string;
const size_t NOT_FOUND = string::npos;

#include<iostream>
using std::istream;
using std::ostream;
using std::iostream;
using std::cin;
using std::cout;
using std::cerr;

#include<sstream>
using std::stringstream;
using std::istringstream;
using std::ostringstream;

#include<fstream>
using std::ifstream;
using std::ofstream;



// interpreter decls
namespace mu {

#include "type_list"

#include "function_list"

// interpreter impl

#include "file_list"

// interpreter tests

#include "test_file_list"

}  // namespace mu