view interps/rail/src/lib.cpp @ 12278:805908a65518 draft

<kspalaiologos> fetch /hackenv/bin/asmbf https://hack.esolangs.org/get/bin/asmbf
author HackEso <hackeso@esolangs.org>
date Tue, 31 Dec 2019 18:31:10 +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;
}