Compiler_package

A Compiler npm Package.

Download as .zip Download as .tar.gz View on GitHub

vcompiler

npm version

🎉 Version 1.x is live ! 🎉

Introducation


It is the npm package for the compilation of the code. Currently it supports the following programming languages:

1. C language.
2. C++ language.
3. Python language.

It can be used for the compilation of the code with or without the input.


Installation

NPM

npm install --save vcompiler

Yarn

yarn add vcompiler

Initializing the Compiler


const Compiler = require("vcompiler");

// initializing the Compiler instance.
Compiler.init();

Compiling the c or cpp code


Compiling the python code


Contribution

Everyone is welcome to contribute to this project and build more functionality into it. Make a fork, improve/fix it and create a pull request. I’d love it! :) Also, I’ll be mentioning your names over here!



-By Dev Ankit Choudhary