compilex
compilex is a node.js library which is used to build online code editor/compiler websites and webservices.
You can compile and respond back outputs for all the languages that can be compiled by the server.
Some of the online code compiling/judging websites are
codepad, ideone HackerRank CodeChef
Using compilex , you can built sites and services like the above said examples.
Why compilex ?
1) It is the one and only library implmenting the online compiler concept. 2) compilex can detect infinite loops in the users program . 3) It can compile programs by getting input from STDIN and from command line arguments. 4) Generates statistics for the administrator. 5) Will include more supporting functions in the future releases.
Supported Languages
compilex is currently in initial development stage . As the library grows , so does the list here .
| Language | Support |
|---|---|
| C | ✔ |
| C++ | ✔ |
| Java | ✔ |
| Python | ✔ |
| C# | Available Soon |
| Visual Basic | Available Soon |
| Ruby | Availlable Soon |
| JavaScript | Available Soon |
| PHP | Available Soon |
| Perl | Available Soon |
| Lua | Available Soon |
| Haskell | Available Soon |
| Other Languages | Available Later |
compilex roles out updates more frequently.Days are not so far , you can see the above languages soon.
Work Flow
- Get the program as input from the client as a request.
- Use compilex modules to compile the program.
- Get the output and errors in json and string formats.
- Respond the output to the client .
License
All the contents in this repository are released under the MIT License
Built With
- colors
- cuid
- javascript
- web

Log in or sign up for Devpost to join the conversation.