view interps/rail/src/lib.cpp @ 3002:43824da55c91

<FreeFull> echo -e \'#!/bin/sh\\necho "$2" > "$1"\' > bin/addwep; chmod +x bin/addwep
author HackBot
date Fri, 31 May 2013 15:51:26 +0000
parents 859f9b4339e6
children
line wrap: on
line source

// lib.cpp

#include "lib.h"
#include "Binding.h"
#include "NilVar.h"

using namespace std;

Binding NIL(new NilVar());

string intToString(int num)
{
  ostringstream stream;
  stream << num;
  return stream.str();
}

namespace args
{
  bool isBatch = true;
  ostream * output = NULL;
  istream * input = NULL;
  list<string> sourceFiles;
}