function compile( code ) {
	try {
	// Note: `void 0` ensures that the compiled code does not return the string `'use strict'` when provided statements/declarations which do not return a value (e.g., `{}`, `{"a":1}`, etc):
		code = new Script( '\'use strict\'; void 0;\n'+code, OPTS );
	} catch ( error ) {
		return error;
	}
	return code;
}
Attempts to compile a provided code string for execution within a REPL environment.

@private
@param {string} code - code string
@returns {(Object|Error)} compiled code object or an error