🚢 Cruise Programming Language (cruise-lang)
The AI-Ready, Human-Readable Programming Language Built for Speed & Simplicity
Created & Developed with ❤️ by Manjas Anand
✨ 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
- 📁
.cruand.cruisupport - 💻 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
.crusupport.cruisupport- 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!
- Fork the repository
- Create a new branch
git checkout -b feature-name
- Commit changes
git commit -m "Added new feature"
- Push
git push origin feature-name
- 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cruise_lang-0.2.1.tar.gz.
File metadata
- Download URL: cruise_lang-0.2.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ef68e7f95a578d40226872e8b76ba85c770f36e6e4d008d35ddc783e6741ffc
|
|
| MD5 |
ba385d8d555a6234c97d99bd10d31249
|
|
| BLAKE2b-256 |
9c1f7a3f0cdb0890adf3e94e64583694ecca01aa0a571b3a97259eb9c0c9c499
|
Provenance
The following attestation bundles were made for cruise_lang-0.2.1.tar.gz:
Publisher:
publish.yml on manjas-developer/Cruise
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cruise_lang-0.2.1.tar.gz -
Subject digest:
8ef68e7f95a578d40226872e8b76ba85c770f36e6e4d008d35ddc783e6741ffc - Sigstore transparency entry: 2343059135
- Sigstore integration time:
-
Permalink:
manjas-developer/Cruise@79a62ab231cb561f5a0cae4dd4998410683bcbe1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/manjas-developer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@79a62ab231cb561f5a0cae4dd4998410683bcbe1 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cruise_lang-0.2.1-py3-none-any.whl.
File metadata
- Download URL: cruise_lang-0.2.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d80ae7d2fdb34bfde94a9a9bbd97ac56e47980ac35318f86282ebaecae00539a
|
|
| MD5 |
218360e4882417fd18056e71e7585ef8
|
|
| BLAKE2b-256 |
acbbb2a9ecdcac86dbb283304b3ddba3e3e8fdb3f2e11ac21cb895221f207af7
|
Provenance
The following attestation bundles were made for cruise_lang-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on manjas-developer/Cruise
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cruise_lang-0.2.1-py3-none-any.whl -
Subject digest:
d80ae7d2fdb34bfde94a9a9bbd97ac56e47980ac35318f86282ebaecae00539a - Sigstore transparency entry: 2343059144
- Sigstore integration time:
-
Permalink:
manjas-developer/Cruise@79a62ab231cb561f5a0cae4dd4998410683bcbe1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/manjas-developer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@79a62ab231cb561f5a0cae4dd4998410683bcbe1 -
Trigger Event:
workflow_dispatch
-
Statement type: