Mercurial > repo
annotate interps/rail/src/lib.cpp @ 3042:21e6d68feebb
<nooodl> echo sed \\\'s/^[^aeiou]*\\(.*\\)/Thanks, \\0. Th\\1./\\\' >> bin/thanks
author | HackBot |
---|---|
date | Wed, 05 Jun 2013 17:29:17 +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 } |