An open API service indexing awesome lists of open source software.

https://github.com/flipez/rocket-lang

Home of 🚀🇱🅰🆖 (or RocketLang, if you are more into letters)
https://github.com/flipez/rocket-lang

golang interpreterbook languages monkey monkey-lang

Last synced: about 1 year ago
JSON representation

Home of 🚀🇱🅰🆖 (or RocketLang, if you are more into letters)

Awesome Lists containing this project

README

          

# 🚀🇱🅰🆖

[![goreleaser Status](https://github.com/Flipez/rocket-lang/actions/workflows/release.yml/badge.svg)](https://github.com/Flipez/rocket-lang/actions/workflows/release.yml)
[![Test Status](https://github.com/Flipez/rocket-lang/actions/workflows/test.yml/badge.svg)](https://github.com/Flipez/rocket-lang/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/Flipez/rocket-lang/branch/master/graph/badge.svg)](https://codecov.io/gh/Flipez/rocket-lang)
[![Maintainability](https://api.codeclimate.com/v1/badges/800d0f48a5b283fc4627/maintainability)](https://codeclimate.com/github/Flipez/rocket-lang/maintainability)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/1615fca430c4489aaf292c0e9bb2e797)](https://www.codacy.com/gh/Flipez/rocket-lang/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Flipez/rocket-lang&utm_campaign=Badge_Grade)
![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/Flipez.rocket-lang-support?label=vscode%20extension%20version)

> Checkout the documentation at https://rocket-lang.org

RocketLang as of version 0.9.5 is the _full_ (as in the book was worked through) version of [MonkeyLang](https://monkeylang.org/) and is then being extended with various useful and not so useful features.

Besides the MonkeyLang roots RocketLang is also heavily influenced by my personal favourite language features which are mainly from Ruby. Therefore a unusual mix of usage patterns can occure. With newly implemented feature RocketLang will drift more and more into a Ruby-like language adaptation.

**Please note:** This language is developed as a side-project to learn the inner mechanics of a interpreter language. Therefore use at your own risk and do not expect production grade stability.

If you have issues, found bugs are ideas for improvements feel free to open an issues.

## Installation
### macOS
```
brew install flipez/homebrew-tap/rocket-lang
```

### APT
```
echo "deb [trusted=yes] https://apt.rocket-lang.org/ /" > \
/etc/apt/sources.list.d/fury.list
```

### RPM
```
[fury]
name=RocketLang Repo
baseurl=https://rpm.rocket-lang.org
enabled=1
gpgcheck=0
```
### Manual
Download from [releases](https://github.com/Flipez/rocket-lang/releases).

There is also a [Visual Studio Code Extension](https://marketplace.visualstudio.com/items?itemName=Flipez.rocket-lang-support) available. Just search for `rocket-lang` in the extension menu.

## How To?

* `rocket-lang` without any arguments will start an interactive shell
* `rocket-lang FILE` will run the code in that file (no file extension check yet)
* Use _Javascript_ Highlighting in your editor for some convenience
* Checkout Code [Samples](examples/) for what is currently possible (and what not)