Skip to main content

Gojju Logo

Gojju 🌶️

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

Documentation • Examples • PyPI


Gojju (ಗೊಜ್ಜು), meaning "essence" or "secret ingredient" in Kannada, is a programming language combining the best of Python, Ruby, Haskell, Perl, and JavaScript.

Installation

pip install gojju

Quick Start

# Start REPL
gojju

# Run a file
gojju examples/hello.gj

# Execute inline
gojju -e "[1,2,3] |> map(\x -> x * 2) |> sum"

Features at a Glance

Source What You Get
🐍 Python List comprehensions, slicing
💎 Ruby #{interpolation}, postfix if, blocks
λ Haskell |> pipe, \x -> x+1, Maybe/Either
🐪 Perl unless/until, regex literals
⚡ JS Arrow functions =>, spread ...

Example

# Functional pipeline
[1, 2, 3, 4, 5]
  |> filter(\x -> x % 2 == 0)
  |> map(\x -> x * 2)
  |> sum

# Pattern matching
match value
  0 -> "zero"
  n if n < 0 -> "negative"
  _ -> "positive"
end

# Ruby-style string interpolation
let name = "World"
print "Hello, #{name}!"

Documentation

📖 Full documentation, language guide, and API reference at hemanth.github.io/gojju

License

MIT

Metadata

Release files for gojju 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gojju 0.1.4
File Size Uploaded
gojju-0.1.4.tar.gz 34.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gojju 0.1.4
File Interpreter ABI Platform
gojju-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 66.2 kB

Release files / gojju-0.1.4.tar.gz

Download URL gojju-0.1.4.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fcbd377e974eb477093a1d508532a17124593a12c8c7c6ebf18136c0536e7b83
BLAKE2b-256 checksum
How to use checksums
365910d2e8721e2c39d0f88219683bea4db3886a43f1b512a20cfe74faada499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / gojju-0.1.4-py3-none-any.whl

Download URL gojju-0.1.4-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11cc34d2a7185a6146f29151e6dfb20bf91336cf6d6e236760f3d2274bfc82d3
BLAKE2b-256 checksum
How to use checksums
82612b1ed3782a5ee52f732ef90480d4f0726ad78957f8422f33659231a5828d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page