Bop

A small, dynamically typed programming language for teaching and embedding in Rust applications.

Zero runtime dependencies. Tree-walker, bytecode VM, and Rust AOT execution. Embedded scripts receive only the capabilities their host explicitly provides.

hello.bopbop run hello.bop
fn greet(name) {
  return "Hello, {name}!"
}

for learner in ["Ada", "Grace", "you"] {
  print(greet(learner))
}
OUTPUTHello, Ada!   Hello, Grace!   Hello, you!
Documentation

Search Bop

Start typing to search the guide and reference.