Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.37 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.37 KB

Berlin CLI

Description

Command-line interface for the Berlin programming language. It can be used to launch a Berlin REPL and for transpilation (from Berlin to JavaScript).

Installation

$ npm install berlin-cli -g

Usage

REPL

Launch a Berlin REPL:

$ berlin

Transpilation

$ berlin input.berlin output.js

with input.berlin containing Berlin source code, and output.js being newly created by the CLI. If output.js already exists, it will be overwritten.

ISC License

Copyright 2020 Dennis Hackethal

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

This license is from the Open Source Initiative at https://opensource.org/licenses/ISC.