Gojju 🌶️

The essence of Python • Ruby • Haskell • Perl • JavaScript

pip install gojju
Try It Now GitHub PyPI

Features at a Glance

🐍 Python

  • List comprehensions: [x*x for x in range(10)]
  • Slicing: list[1:3]

💎 Ruby

  • String interpolation: "Hello #{name}!"
  • Postfix: print "yes" if happy

λ Haskell

  • Pipe: x |> double |> sum
  • Lambda: \x -> x * 2

🐪 Perl

  • unless and until
  • Regex: /pattern/flags

⚡ JavaScript

  • Arrow: (x) => x * 2
  • Spread: [...a, ...b]

🧠 Functional

  • compose, curry, pipe
  • Maybe/Either monads

Interactive Playground

📚 Lessons
gojju REPL
Welcome to Gojju 🌶️ Type code below or click examples to try them.
gojju>