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)