https://github.com/efectn/bruhlang
Bruhlang is bruh word based esoteric language.
https://github.com/efectn/bruhlang
Last synced: 10 months ago
JSON representation
Bruhlang is bruh word based esoteric language.
- Host: GitHub
- URL: https://github.com/efectn/bruhlang
- Owner: efectn
- License: gpl-3.0
- Created: 2021-06-28T13:44:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T13:58:29.000Z (almost 5 years ago)
- Last Synced: 2025-04-01T17:55:06.181Z (about 1 year ago)
- Language: Go
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bruhlang
Bruhlang is ***bruh*** word based esoteric language. Syntax inspired by [Zwedgy/Bruh](https://github.com/Zwedgy/Bruh)
_**Build:**_ `go build .`
**_Usage:_** `./bruhlang `
## Syntax:
### Keywords
- bruh
- moment
- momentum
- effect
- sound
| Bruhlang | Meaning |
|---|---|
| bruh \ | Define variable |
| \ momentum | Increment variable by one |
| \ moment | Decrement variable by one |
| moment \ | Print variable as integer |
| momentum \ | Print variable as ASCII |
| \ \ | Assign \ to \ |
| \ effect \ | Increment \ by \ |
| \ sound \ | Decrement \ by \ |
| sound -\ \- >> \ << sound | Loop \ until \ is equal to \ |
| sound -\ momentum \- >> \ << sound | Loop \ until \ is bigger than \ |
| sound -\ moment \- >> \ << sound | Loop \ until \ is smaller than \ |
**Note:** To get multiple statements on while, you can use ***|*** operator. Example: `sound -aa moment bb- >> moment aa | aa momentum << sound`
**Note 2:** You need to put ***||*** on end of lines.
## Example:
bruh b ||
bruh bb ||
bruh h ||
b momentum ||
b momentum ||
b momentum ||
b momentum ||
b momentum ||
b momentum ||
b momentum ||
b momentum ||
b momentum ||
b momentum ||
b momentum ||
b effect b ||
bb b ||
b effect b ||
b effect bb ||
momentum b ||
b effect b ||
b sound bb ||
h b ||
b momentum ||
b momentum ||
b momentum ||
b momentum ||
momentum b ||
b momentum ||
b momentum ||
b momentum ||
momentum b ||
h moment ||
h moment ||
h moment ||
h moment ||
h moment ||
h moment ||
momentum h ||
**_Output_:** `Bruh`