Skip to content

bonobo-lang/bonobo

Repository files navigation

bonobo

build status

A strongly-typed, expressive language for safe systems programming.

Language Specification

No semi colons. No null (by default). No B.S.

Installation

This project is still in the early stages, so there is no easy method of distribution. You will need to clone this repository, and then tell Dart's pub that you want the bonobo executable in your global path:

git clone https://github.com/bonobo-lang/bonobo
pub global activate --source path bonobo/bonobo

If it is not already in your PATH, be sure to add the following, so that the bonobo executable will be available in your terminal:

export PATH="~/.pub-cache/bin:$PATH"

Usage

This project ships bonobo, a command-line executable that can be used to analyze or compile Bonobo code.

Print Module Information

This command reads the *.bnb files in the current directory, and computes a representation of the environment as a module (see the specification).

Run the following to dump module information:

bonobo info

Language Server

Run: bonobo language_server

  • Syntax checking
  • Static type checking
  • Type inference
  • Dead code detection
  • Autocompletion
  • Hover
  • Highlights
  • Symbol listing
  • Symbol reference/usage finding