Plato on Github
Report Home
scscript.js
Maintainability
138.79
Lines of code
47
Difficulty
7.66
Estimated Errors
0.28
Function weight
By Complexity
By SLOC
(function(sc) { "use strict"; function SCScript(fn) { return sc.lang.main.run(fn); } SCScript.VERSION = sc.VERSION; SCScript.install = function(installer) { installer(sc); return SCScript; }; SCScript.stdout = function(msg) { console.log(msg); return SCScript; }; SCScript.stderr = function(msg) { console.error(msg); return SCScript; }; SCScript.setConfig = function(name, value) { sc.config.set(name, value); return SCScript; }; SCScript.getConfig = function(name) { return sc.config.get(name); }; SCScript.tokenize = function(source, opts) { return sc.lang.compiler.tokenize(source, opts); }; SCScript.parse = function(source, opts) { return sc.lang.compiler.parse(source, opts); }; SCScript.compile = function(source, opts) { return sc.lang.compiler.compile(source, opts); }; global.SCScript = sc.SCScript = SCScript; })(sc);