Updated email addresses in copyright information.

This commit is contained in:
Jonathan Turner
2010-08-10 05:24:07 +00:00
parent b1e357423f
commit 7f037b26d4
31 changed files with 66 additions and 62 deletions

View File

@@ -3,7 +3,7 @@
* chaiscript.php * chaiscript.php
* -------------- * --------------
* Author: Jason Turner & Jonathan Turner (based on JavaScript by Ben Keen (ben.keen@gmail.com)) * Author: Jason Turner & Jonathan Turner (based on JavaScript by Ben Keen (ben.keen@gmail.com))
* Copyright: (c) 2010 Jason Turner (lefticus@gmail.com) (c) 2009 Jonathan Turner * Copyright: (c) 2010 Jason Turner (jason@emptycrate.com) (c) 2009 Jonathan Turner
* (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter) * (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0 * Release Version: 1.0
* Date Started: 2009/07/03 * Date Started: 2009/07/03

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <iostream> #include <iostream>

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <iostream> #include <iostream>

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include "dispatchkit.hpp" #include "dispatchkit.hpp"

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <iostream> #include <iostream>

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef CHAISCRIPT_HPP_ #ifndef CHAISCRIPT_HPP_

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __bad_boxed_cast_hpp__ #ifndef __bad_boxed_cast_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <boost/preprocessor.hpp> #include <boost/preprocessor.hpp>

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __bootstrap_hpp #ifndef __bootstrap_hpp

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
/** /**

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __boxed_cast_hpp__ #ifndef __boxed_cast_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __boxed_cast_helper_hpp__ #ifndef __boxed_cast_helper_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __boxed_pod_value_hpp__ #ifndef __boxed_pod_value_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __boxed_value_hpp__ #ifndef __boxed_value_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __dispatchkit_hpp__ #ifndef __dispatchkit_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __function_call_hpp__ #ifndef __function_call_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <boost/preprocessor.hpp> #include <boost/preprocessor.hpp>

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __handle_return_hpp__ #ifndef __handle_return_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <boost/preprocessor.hpp> #include <boost/preprocessor.hpp>

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <boost/preprocessor.hpp> #include <boost/preprocessor.hpp>

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __register_function_hpp__ #ifndef __register_function_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef __type_info_hpp__ #ifndef __type_info_hpp__

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef _CHAISCRIPT_COMMON_HPP #ifndef _CHAISCRIPT_COMMON_HPP

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef CHAISCRIPT_ENGINE_HPP_ #ifndef CHAISCRIPT_ENGINE_HPP_

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef CHAISCRIPT_EVAL_HPP_ #ifndef CHAISCRIPT_EVAL_HPP_

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef CHAISCRIPT_PARSER_HPP_ #ifndef CHAISCRIPT_PARSER_HPP_

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#ifndef CHAISCRIPT_PRELUDE_HPP_ #ifndef CHAISCRIPT_PRELUDE_HPP_

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <iostream> #include <iostream>

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <iostream> #include <iostream>
@@ -142,7 +142,11 @@ int main(int argc, char *argv[]) {
catch (chaiscript::Eval_Error &ee) { catch (chaiscript::Eval_Error &ee) {
std::cout << ee.what(); std::cout << ee.what();
if (ee.call_stack.size() > 0) { if (ee.call_stack.size() > 0) {
std::cout << "during evaluation at (" << ee.call_stack[0]->start.line << ", " << ee.call_stack[0]->start.column << ")"; std::cout << "during evaluation at (" << ee.call_stack[0]->filename << " " << ee.call_stack[0]->start.line << ", " << ee.call_stack[0]->start.column << ")";
for (int j = 1; j < ee.call_stack.size(); ++j) {
std::cout << std::endl;
std::cout << " > " << ee.call_stack[j]->filename << " (" << ee.call_stack[j]->start.line << ", " << ee.call_stack[j]->start.column << ")";
}
} }
std::cout << std::endl; std::cout << std::endl;
} }

View File

@@ -1,7 +1,7 @@
// This file is distributed under the BSD License. // This file is distributed under the BSD License.
// See "license.txt" for details. // See "license.txt" for details.
// Copyright 2009-2010, Jonathan Turner (jturner@minnow-lang.org) // Copyright 2009-2010, Jonathan Turner (jonathan@emptycrate.com)
// and Jason Turner (lefticus@gmail.com) // and Jason Turner (jason@emptycrate.com)
// http://www.chaiscript.com // http://www.chaiscript.com
#include <iostream> #include <iostream>