Skip to main content

🚢 Cruise Programming Language (cruise-lang)

The AI-Ready, Human-Readable Programming Language Built for Speed & Simplicity

PyPI Version License Python GitHub Stars

Created & Developed with ❤️ by Manjas Anand


🚢 Cruise is a lightweight, human-readable programming language designed for AI-ready scripting, tensor operations, machine learning, automation, and rapid development.

🌐 Official Website & Documentation:
manjas-developer.github.io/Cruise

📦 PyPI:
cruise-lang on PyPI

🐙 GitHub:
manjas-developer/Cruise


📌 Table of Contents


🚢 Overview

Cruise is a lightweight, modern, high-level programming language built with Python.

It focuses on making programming:

  • 🚀 Simple and readable
  • 🧠 Beginner-friendly
  • ⚡ Fast to write
  • 🤖 AI-ready
  • 🔢 Tensor-friendly
  • 🌐 Network-capable
  • 🖥️ GUI-friendly
  • 🔥 Easy to experiment with

Cruise is designed around the idea:

Write Less. Build More. Cruise Faster. 🚀


⚡ Installation

Install or upgrade Cruise directly from PyPI:

pip install --upgrade cruise-lang

🚀 Quick Start

💻 Interactive REPL

Start the Cruise interactive shell:

cruise

Then run:

write("Hello World!")

Output:

Hello World!

📄 Running Script Files

Cruise supports both .cru and .crui files.

Example:

main.cru

or:

main.crui

Run a Cruise program using:

cruise main.cru

📚 Language Syntax

🖨️ Printing Output

write("Hello World!")

📦 Variables

name = "Cruise"
version = 2

write(name)
write(version)

🧩 Functions

define greet(user):
    write("Welcome to Cruise Language, " + user + "!")
end

greet("Manjas")

🔁 Loops

5 times write("Cruising Fast! 🚀")

🔀 Conditions

if x > 10:
    write("Greater")
end

🧠 Tensor Support

Cruise is designed with AI and numerical computing in mind.

Example:

v1 = tensor([1.5, 2.5, 3.5])
v2 = tensor([10.0, 20.0, 30.0])

write(v1)
write(v2)

🌐 HTTP Requests

Cruise can work with web APIs:

data = fetch("https://api.github.com")
write(data)

🖥️ GUI Components

Cruise also provides a simple syntax for GUI-oriented development:

background("navy")

button("Submit Form")
button("Cancel")

✨ Features

Feature Status
🚀 Human-readable syntax
🧠 Beginner-friendly design
⚡ Lightweight interpreter
💻 Interactive REPL
📁 .cru file support
📁 .crui file support
🌐 HTTP requests
📦 JSON support
🔢 Tensor objects
🤖 AI-ready scripting 🚧
🖥️ GUI framework 🚧
🧮 Tensor calculus 🚧
📦 Package manager 🚧
🧠 Advanced optimizer 🚧

📂 Project Structure

Cruise/
│
├── cruise.py
├── lexer.py
├── parser.py
├── interpreter.py
├── runtime.py
├── stdlib.py
├── README.md
└── LICENSE

🗺️ Roadmap

✅ v0.1.0

  • Interactive REPL
  • Variables
  • Printing
  • Basic Interpreter

✅ v0.2.0

  • User-defined functions
  • .cru support
  • .crui support
  • HTTP Requests
  • Tensor Objects
  • WebAssembly Support

🚧 v0.3.0

  • Complete AST Parser
  • Advanced Lexer
  • Modules
  • Package Manager
  • GUI Framework
  • Tensor Calculus
  • Math Library
  • Optimizer

🤝 Contributing

Contributions are welcome! ❤️

Whether you want to fix a bug, improve the interpreter, add a feature, improve documentation, or experiment with the language, you're welcome to contribute.

1️⃣ Fork the repository

Fork the Cruise repository on GitHub.

2️⃣ Create a new branch

git checkout -b feature-name

3️⃣ Make your changes

Implement your feature or fix.

4️⃣ Commit your changes

git add .
git commit -m "Added new feature"

5️⃣ Push your branch

git push origin feature-name

6️⃣ Open a Pull Request

Open a Pull Request on GitHub and describe your changes.

🎉 Thank you for contributing to Cruise!


💖 Support Cruise

If you enjoy Cruise, find it useful, or want to support its development, you can support the project below. 🚢❤️

Your support helps with:

  • 🚀 Continued development
  • 🧠 New language features
  • 🤖 AI and tensor capabilities
  • 🛠️ Development tools
  • 📚 Documentation
  • 🌐 Infrastructure
  • 🔬 Future experiments

🇮🇳 Indian Support

If you're supporting from India, you can support Cruise here:

☕ Buy Me a Chai

Indian Support

👉 Support Here:
https://buymeachai.in/manjasanand08


🌍 International Support

If you're supporting from outside India, you can support Cruise here:

💜 Support via Throne

International Support

👉 Support Here:
https://throne.com/manjas-developer/item/d83a6389-fc12-4d64-a4e1-cf4dc4d1dc45


❤️ Thank You for Supporting Cruise!

Every contribution helps keep Cruise moving forward. 🚢⚡


📜 License

Cruise is licensed under the MIT License.

See the LICENSE file for complete license details.


👨‍💻 Creator

Manjas Anand

Developer & Creator of Cruise Programming Language

📦 PyPI Package

cruise-lang

View Cruise on PyPI

🐙 GitHub

manjas-developer/Cruise

View Cruise on GitHub

🌐 Official Website & Documentation

https://manjas-developer.github.io/Cruise-Website/

Visit the Official Cruise Website

📧 Contact

manjasanand08@gmail.com

🚢 Cruise Language

Write Less. Build More. Cruise Faster. 🚀

Made with ❤️ in Python.

If you like Cruise, consider giving the repository a star!


💖 Support Cruise

🇮🇳 Indian Support:
Buy Me a Chai

🌍 International Support:
Throne

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cruise_lang-0.4.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cruise_lang-0.4.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file cruise_lang-0.4.1.tar.gz.

File metadata

  • Download URL: cruise_lang-0.4.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for cruise_lang-0.4.1.tar.gz
Algorithm Hash digest
SHA256 ffec16761d45981e214932cc0ecffaaad288f415793399d211434cf16f278f79
MD5 94064cd6cf47d2e02968bd90f5e360fc
BLAKE2b-256 b8b167f8e4638e9759015019cac07a6dcecd0630b617b2a3c0e321c03db75fea

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruise_lang-0.4.1.tar.gz:

Publisher: publish.yml on manjas-developer/Cruise

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cruise_lang-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: cruise_lang-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for cruise_lang-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 42709b512777b0b71cf16bcdea4ebb286c2ac9b188311856689fff6e092f013e
MD5 d64987c03e148880545b52988bc3ce0f
BLAKE2b-256 d3a8da3f98c023f3b0bfc1a353a63f341966853bea8ac6aa7d4e39b0902d6c29

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruise_lang-0.4.1-py3-none-any.whl:

Publisher: publish.yml on manjas-developer/Cruise

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.4.3

2 files

0.4.2

2 files

This release

0.4.1 This release

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1.post1

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 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