Created & Developed with β€οΈ by Manjas Anand
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
Install Cruise from PyPI:
pip install --upgrade cruise-langStart the Cruise shell:
cruiseExample:
>>> write("Hello World!")
Hello World!
Save your code as either:
main.cru
or
main.crui
Run it using:
cruise main.cruwrite("Hello World!")
name = "Cruise"
version = 2
write(name)
write(version)
define greet(user):
write("Welcome to Cruise Language, " + user + "!")
end
greet("Manjas")
5 times write("Cruising Fast! π")
if x > 10:
write("Greater")
end
v1 = tensor([1.5, 2.5, 3.5])
v2 = tensor([10.0, 20.0, 30.0])
write(v1)
write(v2)
data = fetch("https://api.github.com")
write(data)
background("navy")
button("Submit Form")
button("Cancel")
- π 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
Cruise/
β
βββ cruise.py
βββ lexer.py
βββ parser.py
βββ interpreter.py
βββ runtime.py
βββ stdlib.py
βββ README.md
βββ LICENSE
- Interactive REPL
- Variables
- Printing
- Basic Interpreter
- User Functions
.crusupport.cruisupport- HTTP Requests
- Tensor Objects
- WebAssembly Support
- Complete AST Parser
- Advanced Lexer
- Modules
- Package Manager
- GUI Framework
- Tensor Calculus
- Math Library
- Optimizer
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
Licensed under the MIT License.
See the LICENSE file for details.
Developer: Manjas Anand
π¦ PyPI Package:
cruise-lang
π GitHub:
manjas-developer/Cruise
π§ Contact:
manjasanand08@gmail.com