Skip to content

MystPi/bella

Repository files navigation

Bella programming language

Bella language logo

Bella is a simple functional programming language, written in Gleam. Still very much a work-in-progress. 🚧

Using Bella

Download the appropriate executable for your system and add it to PATH, then you can:

  • Try out the examples
    bella ./examples/hello_world.bella
  • Create a project
    bella create my_project
    cd my_project
    bella run

Developing

You will need:

  • Gleam
  • Deno (This is Gleam's target runtime)
  • This repo
gleam run ./examples/hello_world.bella

You can also compile an executable:

# Build
gleam clean && gleam build

# Compile
deno compile -o ./build/bella --unstable --allow-all ./build/dev/javascript/bella/main.ts

# Run
./build/bella ./examples/countdown.bella