chaiscript_basic.hpp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // This file is distributed under the BSD License.
  2. // See "license.txt" for details.
  3. // Copyright 2009-2012, Jonathan Turner ([email protected])
  4. // Copyright 2009-2017, Jason Turner ([email protected])
  5. // http://www.chaiscript.com
  6. #ifndef CHAISCRIPT_BASIC_HPP_
  7. #define CHAISCRIPT_BASIC_HPP_
  8. #include "chaiscript_defines.hpp"
  9. #include "dispatchkit/dispatchkit.hpp"
  10. #include "dispatchkit/function_call.hpp"
  11. #include "dispatchkit/dynamic_object.hpp"
  12. #include "dispatchkit/boxed_number.hpp"
  13. #include "language/chaiscript_eval.hpp"
  14. #include "language/chaiscript_engine.hpp"
  15. // This file includes all of the basic requirements for ChaiScript,
  16. // to use, you might do something like:
  17. //
  18. /*
  19. #include "chaiscript_stdlib.hpp"
  20. #include "language/chaiscript_parser.hpp"
  21. ChaiScript_Basic chai(
  22. chaiscript::Std_Lib::library(),
  23. std::make_unique<parser::ChaiScript_Parser<eval::Noop_Tracer, optimizer::Optimizer_Default>>());
  24. */
  25. // If you want a fully packaged ready to go ChaiScript, use chaiscript.hpp
  26. #endif /* CHAISCRIPT_BASIC_HPP_ */