about summary refs log tree commit diff stats
path: root/tangle/boot.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-05 21:17:24 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-05 21:17:24 -0700
commitb96af395b9af2ff9df94b3e82213171f30827c8d (patch)
tree17c8c12648ccc25625e2534ec8d74fbe8f1542cc /tangle/boot.cc
parent2e3b597fe85b654e82b891c22d50754fa5a26156 (diff)
downloadmu-b96af395b9af2ff9df94b3e82213171f30827c8d.tar.gz
1276 - make C++ version the default
I've tried to update the Readme, but there are at least a couple of issues.
Diffstat (limited to 'tangle/boot.cc')
-rw-r--r--tangle/boot.cc51
1 files changed, 51 insertions, 0 deletions
diff --git a/tangle/boot.cc b/tangle/boot.cc
new file mode 100644
index 00000000..86385965
--- /dev/null
+++ b/tangle/boot.cc
@@ -0,0 +1,51 @@
+#define unused __attribute__((unused))
+
+#include<assert.h>
+#include<cstdio>
+#include<cstring>
+#include<cstdlib>
+
+#include<vector>
+using std::vector;
+#include<list>
+using std::list;
+#include<stack>
+using std::stack;
+#include<utility>
+using std::pair;
+#include<map>
+using std::map;
+#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::istringstream;
+using std::ostringstream;
+
+#include<fstream>
+using std::ifstream;
+using std::ofstream;
+
+#include <locale>
+using std::isspace;  // unicode-aware
+
+
+
+#include "type_list"
+
+#include "function_list"
+
+#include "file_list"
+
+#include "test_file_list"