view interps/rail/src/lib.cpp @ 12285:69f123e9b0a2 draft

<b_jonas> STOP
author HackEso <hackeso@esolangs.org>
date Wed, 01 Jan 2020 09:35:37 +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;
}