view interps/rail/src/lib.cpp @ 8532:a158f39b5e8a

<izabera> ` dd if=/dev/zero of=zero bs=1M count=1
author HackBot
date Sun, 19 Jun 2016 16:35:16 +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;
}