{"id":20666286,"url":"https://github.com/wmxpy/barklang","last_synced_at":"2025-04-19T16:43:30.624Z","repository":{"id":93475632,"uuid":"137667261","full_name":"WMXPY/Barklang","owner":"WMXPY","description":":dog: If there are no dogs in Heaven, then when I die I want to go where they went.","archived":false,"fork":false,"pushed_at":"2020-02-15T19:20:46.000Z","size":174,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T05:02:29.426Z","etag":null,"topics":["ast","bark","barklang","typescript"],"latest_commit_sha":null,"homepage":"https://mengw.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WMXPY.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-17T15:55:34.000Z","updated_at":"2021-02-28T02:35:11.000Z","dependencies_parsed_at":"2023-03-18T15:48:54.879Z","dependency_job_id":null,"html_url":"https://github.com/WMXPY/Barklang","commit_stats":{"total_commits":111,"total_committers":4,"mean_commits":27.75,"dds":0.3063063063063063,"last_synced_commit":"b0189f38723509fc87d1dcbcfc4da78b17ada8c0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMXPY%2FBarklang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMXPY%2FBarklang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMXPY%2FBarklang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMXPY%2FBarklang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WMXPY","download_url":"https://codeload.github.com/WMXPY/Barklang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249740720,"owners_count":21318704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ast","bark","barklang","typescript"],"created_at":"2024-11-16T19:36:32.301Z","updated_at":"2025-04-19T16:43:30.603Z","avatar_url":"https://github.com/WMXPY.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Barklang\n\n[![npm version](https://badge.fury.io/js/bkc.svg)](https://www.npmjs.com/package/bkc)\n[![Build Status](https://travis-ci.org/WMXPY/Barklang.svg?branch=master)](https://travis-ci.org/WMXPY/Barklang)\n[![codecov](https://codecov.io/gh/WMXPY/Barklang/branch/master/graph/badge.svg)](https://codecov.io/gh/WMXPY/Barklang)\n[![Gitter](https://badges.gitter.im/WMXPY/Barklang.svg)](https://gitter.im/Barklang?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n[![downloads](https://img.shields.io/npm/dm/bkc.svg)](https://www.npmjs.com/package/bkc)\n\n:dog: If there are no dogs in Heaven, then when I die I want to go where they went.\n\nbkc 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.\n\n## Install\n\n```bash\nnpm install bkc --save\n```\n\nYou can use bkc in nodeJS environment or browser (commonjs)\n\n## Usage\n\nUse bkc without external function.\n\n```js\nimport bkc from 'bkc';\n// es5\nconst bkc = require('bkc').default;\n\nbkc(\"print 'hello world!'\"); // hello world!\n```\n\nUse bkc with an external function.\n\n```js\nimport bkc from 'bkc';\n// es5\nconst bkc = require('bkc').default;\n\nbkc(\"hello 'hello world!'\", [\n    {\n        command: 'hello',\n        func: (arg) =\u003e {\n            console.log(arg);\n        }\n    }\n]); // hello world!\n```\n\n## Documents\n\n-   [Grammar and example](https://github.com/WMXPY/bkc/blob/master/docs/bkc.md)\n-   [Develop](https://github.com/WMXPY/bkc/blob/master/docs/develop.md)\n\n\u003e Created by [Ghoti-CLI](https://github.com/WMXPY/Ghoti-CLI/) 3.3.8\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmxpy%2Fbarklang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmxpy%2Fbarklang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmxpy%2Fbarklang/lists"}