Hey everyone π
Iβm super excited to announce Pebble, my own programming language β simple, fun, and beginner-friendly. I just published it to PyPI so anyone can install and try it out! π
π Why Pebble?
Pebble is designed to feel light and readable, kind of like Python, but with its own twist:
- Friendly keywords (
fnc,say,out,go,until) - Easy math and variables (
x is 10) - Built-in loops, conditionals, functions
- Lists and dictionaries with clean syntax
- Input and output made super simple
I wanted something that feels natural, is easy to pick up, but still powerful enough to build stuff.
π οΈ Installation
Pebble is on PyPI, so you can grab it with:
pip install pebble-lang
π Usage
Write your Pebble code in a .pb file, then run it with:
python -m pebble yourfile.pb
β¨ Example Code
say "Hello Pebble!"
x is 10
fnc double(n):
out n * 2
say double(x)
go i in {1, 2, 3}:
say "loop " + i
β
Output:
Hello Pebble!
20
loop 1
loop 2
loop 3
π‘ Features
-
sayβ print to screen -
fncβ define functions -
outβ return values -
goβ for loops -
untilβ while loops -
inp[...]β get input -
!β comments
And much more coming soon π
π’ Get Involved
The project is open-source on GitHub:
π Pebble-lang
Iβd love feedback, ideas, and contributions. This is just the beginning β Pebble will grow with the community!
Top comments (0)