ktango (13)


Pebble has been described (by one of us) as an arcane amalgamation of Python and JavaScript. We hope that's not true (but we'll buy ourselves commemorative mugs if it actually is).

Pebble is intended to be an intuitive, English-friendly, high-level language. Our goal was to balance simplicity with expressive power; to make a language that is easy to pick up the basics in, but which offers a surprisingly rich environment for the advanced user.

We actually created our own programming paradigm to run our language and have tailored our syntax to be consistent with it. Code-named the "call-binding paradigm", this paradigm is robust enough to mimic both object-oriented and functional programming paradigms, and the exact feel can be seasoned to taste by the programmer themselves. We find it cool because in it, classes are methods are objects are classes (check out the demo for details)… also types are first-class citizens.

We also re-imagine other features of what a language should be. We take a novel approach to designing a type system for which we're currently in the process of writing a compile-time checker; we rethink what a null construct should look like and we avoid that-scary-cool-doodad (you know, a monad) when we talk about it; and we reshape code into a more human, conversational flow.

But, enough of these high level, broad characterizations. If you're interested, take a look at the interactive demo. We encourage you to read everything because it nicely explains what's really happening.


Pretty much all code inside Pebble is built in-house. We wrote our own custom grammar-format, tokenizer, lexer, parser, interpreter, bytecode runtime, and demo-izer (not to be mistaken for the demonizer).

The code is all open source and can be found here


So there's an interactive demo that takes you through the quirks and peculiarities of Pebble. You can view it by running the embedded repl, though you may prefer to run it in a separate tab so you can resize the window and enjoy more real estate. Here is a link to the full repl.


Pebble has been built by these lovely folks.


and me,


We're new, don't know what we're doing, and having a blast.

You are viewing a single comment. View All
ktango (13)

@redsox2 so in the root directory of the repl you should find a file called .replit. Open it up--its like two lines. The second line will read run = "rm ./pebble; make; ./pebble --demo".

Change this to run = "rm ./pebble; make; ./pebble" and you can skip right to running theprogram.pebl` file.