3.2.1 • Published 4 years ago

bkc v3.2.1

Weekly downloads
23
License
MIT
Repository
github
Last release
4 years ago

Barklang

npm version Build Status codecov Gitter downloads

:dog: If there are no dogs in Heaven, then when I die I want to go where they went.

bkc is a simple programming language, based on javascript. All bkc lang will run in a sandbox environment, so bkc is safe for untrust user input.

Install

npm install bkc --save

You can use bkc in nodeJS environment or browser (commonjs)

Usage

Use bkc without external function.

import bkc from 'bkc';
// es5
const bkc = require('bkc').default;

bkc("print 'hello world!'"); // hello world!

Use bkc with an external function.

import bkc from 'bkc';
// es5
const bkc = require('bkc').default;

bkc("hello 'hello world!'", [
    {
        command: 'hello',
        func: (arg) => {
            console.log(arg);
        }
    }
]); // hello world!

Documents

Created by Ghoti-CLI 3.3.8

3.2.1

4 years ago

3.2.0

6 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.0.0

7 years ago

0.0.1

7 years ago