Mercurial > repo
annotate interps/rail/src/lib.cpp @ 2967:b5f514d70f67
<oerjan> learn cpressey has invented more esolangs than you can shake a stick at. Also he\'s older than the universe hth.
author | HackBot |
---|---|
date | Tue, 28 May 2013 21:31:54 +0000 |
parents | 859f9b4339e6 |
children |
rev | line source |
---|---|
996 | 1 // lib.cpp |
2 | |
3 #include "lib.h" | |
4 #include "Binding.h" | |
5 #include "NilVar.h" | |
6 | |
7 using namespace std; | |
8 | |
9 Binding NIL(new NilVar()); | |
10 | |
11 string intToString(int num) | |
12 { | |
13 ostringstream stream; | |
14 stream << num; | |
15 return stream.str(); | |
16 } | |
17 | |
18 namespace args | |
19 { | |
20 bool isBatch = true; | |
21 ostream * output = NULL; | |
22 istream * input = NULL; | |
23 list<string> sourceFiles; | |
24 } |