These are chat archives for ChaiScript/ChaiScript

Mar 2018
Mar 12 2018 01:07
How would you add non-member operators to chaiscript? Would it just be like adding a normal function?
Jason Turner
Mar 12 2018 02:39
yes, everything is just like a regular function really. And if you use a lambda to wrap it then you never have to worry if you got it right, or got the right overload. chai.add(chaiscript::fun([](const Type &lhs, const Type &rhs){ return lhs == rhs; }), "==");
Mar 12 2018 21:20
can someone help me out to add a C++ empty line?
I've tried endl and \n
it doesnt work?
Jason Turner
Mar 12 2018 22:32
Print an empty line?
from ChaiScript? From C++? Put a new line in chaiscript from c++?
we need more info