Version 0.2.1 is Live on PyPI

The AI-Ready Language
Built for Simplicity & Speed

Cruise is a lightweight programming language created by Manjas Anand featuring human-readable syntax, custom user-defined functions, PyTorch tensor calculus, and HTTP request libraries.

$ pip install --upgrade cruise-lang
Support My Work

Why Developers Love Cruise

Engineered from the ground up to combine plain-English readability with powerful deep learning backend tools.

User Defined Functions

Declare modular functions easily using plain-English syntax: define name(arg): ... end with dynamic scoping.

PyTorch Autograd

Native support for multi-dimensional tensor arrays (tensor([1, 2, 3])) with built-in matrix calculations.

Native HTTP Library

Fetch JSON data and communicate with external REST APIs directly inside scripts using fetch(url) and post(url).

Zero-Config GUI Apps

Build instant desktop windows (background, button) with graceful headless fallback handling for terminal environments.

Dual File Extensions

Run interactively line-by-line via the REPL shell, or execute standalone script files saved with .cru or .crui extensions.

Cross-Platform REPL

Lightweight terminal shell designed to execute scripts on any machine with Python 3.8+.

πŸ“– Complete Documentation & Syntax

Master all keyword functions, operators, and standard capabilities built into Cruise.

Feature Category Cruise Syntax Command Description & Behavior
Functions define greet(user): ... end Defines reusable custom function blocks with parameters.
Variables x = 100 Assigns numbers, strings, or tensors to variable scopes.
Print Output write("Hello " + name) Prints variables, expressions, or strings to console output.
Automation Loops 3 times write("Hi") Repeats a command N times in a single line.
HTTP API GET data = fetch("https://api.com") Sends HTTP GET requests to fetch remote JSON data.
Tensors (PyTorch) t = tensor([1.0, 2.0, 3.0]) Creates multi-dimensional tensor arrays for ML math.
Desktop UI Window background("navy") Initializes desktop app window background with headless fallback.
Interactive Button button("Click Me") Mounts clickable UI button component on desktop windows.

🧩 Cruise Ecosystem & Libraries

Discover tools, package managers, and standard extensions for Cruise.

PyPI Package (`cruise-lang`)

The core interpreter is published on PyPI. Install it on any device with Python 3.8+ (including iPad terminals like iSH / Pythonista).

pip install --upgrade cruise-lang

PyTorch Tensor Engine

Cruise connects directly to tensor math matrix algorithms to perform linear algebra calculations without writing complex C++ boilerplate.

t = tensor([1, 2, 3])

πŸ—ΊοΈ Project Roadmap

Future features and upcoming release goals for Cruise Language.

v0.1.1 β€” Initial Release

Core Interpreter & REPL Shell

Published REPL shell, initial variables, loops, and basic stdout functions.

Completed
v0.2.1 β€” Current Release

Functions & HTTP Engine

Added custom user functions (`define ... end`), `.cru` / `.crui` dual extension support, and HTTP request library (`fetch`).

Completed
v0.3.0 β€” Next Milestone

AST Lexer Tokenizer & Personalization

Complete AST Lexer Tokenizer engine, scoped memory frames, extended matrix calculus (`.sum()`, `.mean()`, `.relu()`), and personalized Manjas Anand REPL startup banners.

In Progress
Open Source Support

Support My Work

If you find Cruise Language or my open-source projects useful, consider supporting my work to help keep development active!

Support My Work