1.1.2 • Published 6 months ago

@basha_coder/compiler v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Compiler

This is an open source compiler that compiles code in the browser. It is licensed under the MIT license. This lib compiles the following languages:

How to use?

First install the package

npm i @basha_coder/compiler

Then make a file and import the lib

const = require("@basha_coder/compiler")

Then pass in the code like this:

    
const code = await compile.runPython(`
print('Hello World!')
  `)
console.log(code);

It will out put the following

["Hello World"]

Note: If there is any problem using this you can always open an issue, and one of the contributors will help you

Contributing

If you would like to contribute to this project, please visit the GitHub repository and submit a pull request. The project is also available on npm.

1.1.2

6 months ago

1.1.1

8 months ago

1.0.0

8 months ago