Skip to content

asr1191/code-evaluator

Repository files navigation

Code Evaluator

Unstable Alpha Version, Use at your own risk.

Build Status Codacy Badge Doge Badge npm

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

About

API that compiles/interprets source code for different languages and returns their outputs.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published