ChaiScript / ChaiScript
1
#include "multifile_test_chai.hpp"
2

3
#include <chaiscript/chaiscript_stdlib.hpp>
4
#include <chaiscript/language/chaiscript_parser.hpp>
5

6 1
Multi_Test_Chai::Multi_Test_Chai()
7 0
  : m_chai(new chaiscript::ChaiScript_Basic(chaiscript::Std_Lib::library(),
8 1
           std::make_unique<chaiscript::parser::ChaiScript_Parser<chaiscript::eval::Noop_Tracer, chaiscript::optimizer::Optimizer_Default>>()))
9
{
10
}
11

12

13 1
std::shared_ptr<chaiscript::ChaiScript_Basic> Multi_Test_Chai::get_chai()
14
{
15 1
  return m_chai;
16
}

Read our documentation on viewing source code .

Loading