ChaiScript
chaiscript.hpp
1 // This file is distributed under the BSD License.
2 // See "license.txt" for details.
3 // Copyright 2009-2012, Jonathan Turner (jonathan@emptycrate.com)
4 // Copyright 2009-2018, Jason Turner (jason@emptycrate.com)
5 // http://www.chaiscript.com
6 
7 // This is an open source non-commercial project. Dear PVS-Studio, please check it.
8 // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
9 
10 
11 #ifndef CHAISCRIPT_HPP_
12 #define CHAISCRIPT_HPP_
13 
14 
15 
485 
486 
487 
521 
542 
654 
655 
815 
816 
819 
822 
823 #include "chaiscript_basic.hpp"
824 #include "language/chaiscript_parser.hpp"
825 #include "chaiscript_stdlib.hpp"
826 
827 
828 namespace chaiscript
829 {
831  {
832  public:
833  ChaiScript(std::vector<std::string> t_modulepaths = {},
834  std::vector<std::string> t_usepaths = {},
835  const std::vector<Options> &t_opts = chaiscript::default_options())
837  chaiscript::Std_Lib::library(),
838  std::make_unique<parser::ChaiScript_Parser<eval::Noop_Tracer, optimizer::Optimizer_Default>>(),
839  t_modulepaths, t_usepaths, t_opts)
840  {
841  }
842  };
843 }
844 
845 #endif /* CHAISCRIPT_HPP_ */
Namespace chaiscript contains every API call that the average user will be concerned with...
ChaiScript_Basic(const ModulePtr &t_lib, std::unique_ptr< parser::ChaiScript_Parser_Base > &&parser, std::vector< std::string > t_module_paths={}, std::vector< std::string > t_use_paths={}, const std::vector< chaiscript::Options > &t_opts=chaiscript::default_options())
Constructor for ChaiScript.
Definition: chaiscript_engine.hpp:270
Definition: chaiscript.hpp:830
The main object that the ChaiScript user will use.
Definition: chaiscript_engine.hpp:68