https://github.com/keller-michael/firefly
🪰 playful ABAP development, based loosely on the idea of Esolang Firefly
https://github.com/keller-michael/firefly
abap demo exercise firefly learn learn-to-code learning-by-doing playful
Last synced: about 11 hours ago
JSON representation
🪰 playful ABAP development, based loosely on the idea of Esolang Firefly
- Host: GitHub
- URL: https://github.com/keller-michael/firefly
- Owner: Keller-Michael
- License: mit
- Created: 2023-01-06T07:58:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-08T16:15:40.000Z (over 3 years ago)
- Last Synced: 2025-02-25T05:27:33.380Z (over 1 year ago)
- Topics: abap, demo, exercise, firefly, learn, learn-to-code, learning-by-doing, playful
- Language: ABAP
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :fly: Firefly
## The idea behind Firefly
Firefly is a very simple programming language for the [BBC Micro:bit](https://microbit.org/). The BBC Micro:bit is a pocket-sized computer with a speaker and a 5x5 grid of LEDs. The basic idea of Firefly is very lovely because it's about firefly flying in the night and emitting light in different strength.
Sounds esotheric? Absolutely and therefore a nice change of pace. I read about this programming language in [Ronald T. Kneusel's](https://www.rkneusel.com/) wonderful book "Strange Code - Esoteric languages that make programming fun again". You can find more information about Firefly [here](https://esolangs.org/wiki/Firefly).
## Implementation in ABAP
I wrote an [executable class](./src/zcl_mke_firefly.clas.abap) on SAP Business Technology Platform ABAP environment (Steampunk), keeping things as simple as possible. Output is done via console. Firefly is starting from position 3/3 (C3).
## Example
Input commands "1SS2S3W2E4E" leads to following console output in the end:
| A | B | C | D | E |
|:-:|:-:|:-:|:-:|:-:|
| " | 3 | 2 | 4 | " |
| " | " | " | " | " |
| " | " | " | " | " |
| " | " | 1 | " | " |
| " | " | 1 | " | " |