Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/salif/ballerina-rosettacode

Tasks from Rosetta Code implemented in Ballerina
https://github.com/salif/ballerina-rosettacode

ballerina ballerina-lang ballerina-language hacktoberfest hacktoberfest-2023 hacktoberfest-accepted hacktoberfest2023 rosetta-code rosettacode

Last synced: 6 days ago
JSON representation

Tasks from Rosetta Code implemented in Ballerina

Awesome Lists containing this project

README

        

## Tasks from Rosetta Code implemented in Ballerina

### Links

* Ballerina Central: [central.ballerina.io/ballet/rosettacode](https://central.ballerina.io/ballet/rosettacode)
* API Docs: [lib.ballerina.io/ballet/rosettacode/latest](https://lib.ballerina.io/ballet/rosettacode/latest)
* Source code: [github.com/salif/ballerina-rosettacode](https://github.com/salif/ballerina-rosettacode)
* Source code: [codeberg.org/salif/ballerina-rosettacode](https://codeberg.org/salif/ballerina-rosettacode)
* Issues (Github): [github.com/salif/ballerina-rosettacode/issues](https://github.com/salif/ballerina-rosettacode/issues)
* Issues (Codeberg): [codeberg.org/salif/ballerina-rosettacode/issues](https://codeberg.org/salif/ballerina-rosettacode/issues)
* Discuss (Github): [github.com/salif/ballerina-rosettacode/discussions](https://github.com/salif/ballerina-rosettacode/discussions)
* Chat (Element/Matrix): [#salif-bal-rosettacode:mozilla.org](https://matrix.to/#/#salif-bal-rosettacode:mozilla.org)

### Build

```bash
# Clone the repo
git clone https://github.com/salif/ballerina-rosettacode.git
# Build
bal build
# Run
java -jar target/bin/rosettacode.jar -- "Hello_world/Text"
```

### Tasks

| name | task | source code |
| :--- | :--- | :--- |
| `Hello_world/Text` | [Hello world/Text](https://www.rosettacode.org/wiki/Hello_world/Text) | [code](/modules/Hello_world_Text/main.bal) |
| `Hello_world/Newline_omission` | [Hello world/Newline omission](https://www.rosettacode.org/wiki/Hello_world/Newline_omission) | [code](/modules/Hello_world_Newline_omission/main.bal) |
| `Loops/Foreach` | [Loops/Foreach](https://www.rosettacode.org/wiki/Loops/Foreach) | [code](/modules/Loops_Foreach/main.bal) |
| `Loops/While` | [Loops/While](https://www.rosettacode.org/wiki/Loops/While) | [code](/modules/Loops_While/main.bal) |
| `Loops/Break` | [Loops/Break](https://www.rosettacode.org/wiki/Loops/Break) | [code](/modules/Loops_Break/main.bal) |
| `Loops/Infinite` | [Loops/Infinite](https://www.rosettacode.org/wiki/Loops/Infinite) | [code](/modules/Loops_Infinite/main.bal) |
| `Loops/For` | [Loops/For](https://rosettacode.org/wiki/Loops/For) | [code](/modules/Loops_For/main.bal) |
| `Fibonacci_sequence` | [Fibonacci sequence](https://rosettacode.org/wiki/Fibonacci_sequence) | [code](/modules/Fibonacci_sequence/main.bal) |

### License

The code in this repository is, by default, licensed under the
[BSL-1.0 license](./LICENSE.txt), unless specified otherwise.

In the case where a source code is indicated as a translation,
this translation is licensed under the same terms as the original code.