view interps/rail/src/lib.cpp @ 11681:05b95285fdbc draft

<oerjan> le/rn standard//Here on this channel we ascribe to a higher standard. See flagpole.
author HackEso <hackeso@esolangs.org>
date Sat, 29 Dec 2018 18:37:48 +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;
}