view interps/rail/src/lib.cpp @ 12292:d51f2100210c draft

<kspalaiologos> `` cat <<<"asmbf && bfi output.b" > /hackenv/ibin/asmbf
author HackEso <hackeso@esolangs.org>
date Thu, 02 Jan 2020 15:38:21 +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;
}