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)