code-evaluator

1.9.0 • Public • Published

Code Evaluator

Unstable Alpha Version, Use at your own risk.

Reads, compiles, runs source code in supported languages, and gives you an output.

Supported Languages

  • python2 (python2)
  • python3 (python3)
  • C (gcc)
  • C++ (g++)

How to Install

npm install code-evaluator

How to Use

See example: express-example.js


Error Codes

Error.name Description
CODEDIR_NOEXIST Codefile storage directory does not exists.
CODEFILE_NOWRITE Unable to write codefile.
INPUTDIR_NOEXIST Inputfile storage directory does not exists.
INPUTFILE_NOWRITE Unable to write inputfile.
COMPILATION_ERROR Unable to compile from codefile
CODERUN_ERROR Unable to run code or binary

License

GPL 3.0

Readme

Keywords

none

Package Sidebar

Install

npm i code-evaluator

Weekly Downloads

1

Version

1.9.0

License

GPL-3.0-only

Unpacked Size

58.5 kB

Total Files

16

Last publish

Collaborators

  • asr.1191