Skip to main content

🚢 Cruise Programming Language (cruise-lang)

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

PyPI Version License Python

Created & Developed with ❤️ by Manjas Anand


💖 Support My Work

If you find this project helpful and want to support my open-source work:

Support My Work


✨ Overview

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

It focuses on:

  • 🚀 Easy-to-read syntax
  • 🧠 Beginner-friendly design
  • ⚡ Fast execution
  • 🤖 AI-friendly scripting
  • 📦 Built-in utilities
  • 🔥 Zero configuration

🚀 Installation

Install Cruise from PyPI:

pip install --upgrade cruise-lang

🚀 Quick Start

Interactive REPL

Start the Cruise shell:

cruise

Example:

>>> write("Hello World!")
Hello World!

Running Script Files

Save your code as either:

main.cru

or

main.crui

Run it 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

🧠 Built-in Tensor Support

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

write(v1)
write(v2)

🌐 HTTP Requests

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

🖥️ GUI Components

background("navy")

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

✨ Features

  • 🚀 Human-readable syntax
  • 🧠 Beginner friendly
  • ⚡ Fast interpreter
  • 📦 Built-in HTTP library
  • 🌐 JSON support
  • 🤖 AI-ready scripting
  • 🔢 Tensor arrays
  • 🖥️ GUI widgets
  • 📁 .cru and .crui support
  • 💻 Interactive REPL
  • 🔥 Zero configuration

📂 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 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!

  1. Fork the repository
  2. Create a new branch
git checkout -b feature-name
  1. Commit changes
git commit -m "Added new feature"
  1. Push
git push origin feature-name
  1. Open a Pull Request

📜 License

Licensed under the MIT License.

See the LICENSE file for details.


👨‍💻 Creator

Developer: Manjas Anand

📦 PyPI Package:

cruise-lang

🐙 GitHub:

manjas-developer/Cruise

📧 Contact:

manjasanand08@gmail.com

🚢 Cruise Language

Write Less. Build More. Cruise Faster. 🚀

Made with ❤️ in Python.


💖 Support My Work

If you find this project helpful and want to support my open-source work:

Support My Work

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.3.0.tar.gz (8.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.3.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cruise_lang-0.3.0.tar.gz
  • Upload date:
  • Size: 8.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.3.0.tar.gz
Algorithm Hash digest
SHA256 d8e2fc92d307b882bb0d848ccce61020e01f0da10d9367424eae756ce9f90783
MD5 3b443cd897a4d474a12671937f1f9121
BLAKE2b-256 34c38c2e68852b701ae2a0fe5a824ae3db0072e04c2085dcbee6c596d3afb46e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruise_lang-0.3.0.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: cruise_lang-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1458d8844e3768226e96f880ee28f72c75b8ca9c9e260836542b8e1a8fad78fa
MD5 ea9719a13654061135a77d243bfea8d8
BLAKE2b-256 2ea7d6e59a91b6038440e7503daaa56b4860d758e71841a0b18947ede3a57ad6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cruise_lang-0.3.0-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

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

This release

0.3.0 This release

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