An open API service indexing awesome lists of open source software.

https://github.com/anshulrgoyal/code-compiler

It provide api to compile and run other language code like C,CPP,Node,Python.
https://github.com/anshulrgoyal/code-compiler

Last synced: 2 months ago
JSON representation

It provide api to compile and run other language code like C,CPP,Node,Python.

Awesome Lists containing this project

README

        

CODE COMPILER

This module provide some basic functionality to run code in node of different language for eg:C/C++,Python.
It use open source compiler like GNU GCC
The module requires:


  • GCC

  • Python

  • NodeJS

```javascript

const {runNode,runC,runCPP,runPython}=require('code-compiler')

runNode(code,input,cb(stderr,stdout){
console.log({err:stderr});
console.log({output:stdout});
})
```