Go to file
2025-08-08 19:03:49 -04:00
.idea Tidy code, interactive interpreter prints out result of expression without explicit print statement 2023-06-01 17:19:19 -04:00
bob-language-extension feat: comprehensive language enhancements and code quality improvements 2025-08-07 00:12:04 -04:00
examples Property Expression, Fixed memory leaks 2025-08-08 19:03:49 -04:00
leakTests Property Expression, Fixed memory leaks 2025-08-08 19:03:49 -04:00
Reference Property Expression, Fixed memory leaks 2025-08-08 19:03:49 -04:00
src Property Expression, Fixed memory leaks 2025-08-08 19:03:49 -04:00
tools Various changes 2025-08-06 21:42:09 -04:00
.gitignore Moved to cmake and ninja, updated docs 2025-08-07 19:09:25 -04:00
CMakeLists.txt Property Expression, Fixed memory leaks 2025-08-08 19:03:49 -04:00
README.md Moved to cmake and ninja, updated docs 2025-08-07 19:09:25 -04:00
run_leak_tests.sh Property Expression, Fixed memory leaks 2025-08-08 19:03:49 -04:00
test_bob_language.bob Property Expression, Fixed memory leaks 2025-08-08 19:03:49 -04:00
test_fib.bob Various changes 2025-08-06 21:42:09 -04:00
tests.bob Property Expression, Fixed memory leaks 2025-08-08 19:03:49 -04:00

██████╗  ██████╗ ██████╗ 
██╔══██╗██╔═══██╗██╔══██╗
██████╔╝██║   ██║██████╔╝
██╔══██╗██║   ██║██╔══██╗
██████╔╝╚██████╔╝██████╔╝
╚═════╝  ╚═════╝ ╚═════╝ 

A modern programming language with all the features/sytax I prefer

Documentation

Features

  • Core Types: Numbers, strings, booleans, arrays, dictionaries, functions
  • Advanced Functions: First-class functions, closures, anonymous functions, tail call optimization
  • Control Flow: If/else statements, while/do-while/for loops, break/continue
  • Operators: Arithmetic, logical, bitwise, comparison, compound assignment (+=, -=, etc.)
  • Built-in Functions: print, input, assert, len, push, pop, keys, values, type conversion (toString, toNumber, toInt)
  • Other Stuff: String interpolation, escape sequences, file I/O, eval, time/sleep, random
  • Memory: Automatic cleanup, no manual memory management

Quick Start

# Build
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release
ninja -C build

# Run
./build/bin/bob your_file.bob