bella
所属分类:编程语言基础
开发工具:Gleam
文件大小:0KB
下载次数:0
上传日期:2023-08-26 15:29:35
上 传 者:
sh-1993
说明: Bella一种用Gleam!编写的简单函数式编程语言!,
(Bella A simple functional programming language Written in Gleam!,)
文件列表:
.vscode/ (0, 2023-11-05)
.vscode/settings.json (26, 2023-11-05)
LICENSE (1063, 2023-11-05)
assets/ (0, 2023-11-05)
assets/Bella-language.png (395583, 2023-11-05)
deno.json (68, 2023-11-05)
docs/ (0, 2023-11-05)
docs/functions.md (71, 2023-11-05)
docs/language.md (7748, 2023-11-05)
docs/style.md (65, 2023-11-05)
examples/ (0, 2023-11-05)
examples/countdown.bella (146, 2023-11-05)
examples/crlf.bella (45, 2023-11-05)
examples/empty.bella (26, 2023-11-05)
examples/escape.bella (43, 2023-11-05)
examples/example_project/ (0, 2023-11-05)
examples/example_project/bella.json (53, 2023-11-05)
examples/example_project/src/ (0, 2023-11-05)
examples/example_project/src/example_project.bella (85, 2023-11-05)
examples/example_project/src/hello.bella (14, 2023-11-05)
examples/example_project/src/string/ (0, 2023-11-05)
examples/example_project/src/string/join.bella (21, 2023-11-05)
examples/factorial.bella (100, 2023-11-05)
examples/hello_world.bella (27, 2023-11-05)
examples/import.bella (134, 2023-11-05)
examples/import_errors/ (0, 2023-11-05)
examples/import_errors/a.bella (41, 2023-11-05)
examples/import_errors/b.bella (41, 2023-11-05)
examples/import_errors/c.bella (7, 2023-11-05)
examples/input.bella (57, 2023-11-05)
examples/lambda.bella (95, 2023-11-05)
examples/list.bella (579, 2023-11-05)
examples/math.bella (172, 2023-11-05)
examples/partial_application.bella (121, 2023-11-05)
... ...
# Bella programming language
![Bella language logo](https://github.com/MystPi/bella/blob/master/assets/Bella-language.png)
Bella is a simple functional programming language, written in [Gleam](https://github.com/MystPi/bella/blob/master/https://gleam.run). Still very much a work-in-progress.
## Using Bella
[Download](https://github.com/MystPi/bella/blob/master/https://github.com/MystPi/bella/releases) the appropriate executable for your system and add it to PATH, then you can:
- Try out the [examples](https://github.com/MystPi/bella/blob/master//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
```
近期下载者:
相关文件:
收藏者: