view interps/rail/src/lib.cpp @ 5987:0dc03a98eb58

<oerjan> rm wisdom/v\xc3\xa4lkommen
author HackBot
date Mon, 14 Sep 2015 17:51:14 +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;
}