Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mystpi/bella
🐶 Bella ⌁ A simple functional programming language ⌁ Written in Gleam!
https://github.com/mystpi/bella
functional-programming gleam interpreter lexer nodejs parser programming-language
Last synced: 2 days ago
JSON representation
🐶 Bella ⌁ A simple functional programming language ⌁ Written in Gleam!
- Host: GitHub
- URL: https://github.com/mystpi/bella
- Owner: MystPi
- License: mit
- Created: 2023-05-19T13:57:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-09T18:55:55.000Z (8 months ago)
- Last Synced: 2024-03-09T19:40:40.763Z (8 months ago)
- Topics: functional-programming, gleam, interpreter, lexer, nodejs, parser, programming-language
- Language: Gleam
- Homepage:
- Size: 942 KB
- Stars: 20
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bella programming language
![Bella language logo](assets/Bella-language.png)
Bella is a simple functional programming language, written in [Gleam](https://gleam.run). Still very much a work-in-progress. 🚧
## Using Bella
[Download](https://github.com/MystPi/bella/releases) the appropriate executable for your system and add it to PATH, then you can:
- Try out the [examples](/examples/)
```sh
bella ./examples/hello_world.bella
```
- Create a project
```sh
bella create my_project
cd my_project
bella run
```## Developing
You will need:
- Gleam
- Deno _(This is Gleam's target runtime)_
- This repo```sh
gleam run ./examples/hello_world.bella
```
You can also compile an executable:```sh
# 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
```