A Gen Z slang-based programming language that compiles to C++. No cap fr fr! 🔥
Project description
NoCapLang
A Gen Z slang-based programming language that compiles to C++.
Installation
pip install nocaplang
Quick Start
tea: Hello World in NoCapLang
fr message: text = "Hello, World!"
yap(message)
Run your program (compiles and executes automatically):
nocap hello.nocap
That's it! Output appears immediately.
Advanced Usage
Want more control? Use these flags:
# Just compile without running
nocap --compile-only hello.nocap
# Specify custom output file
nocap -o myprogram hello.nocap
Features
- 🎨 Gen Z slang keywords (fr, yap, vibecheck, lowkey, etc.)
- 🚀 Compiles to blazing-fast C++
- 💻 Full OOP support with classes and inheritance
- 🔄 Pattern matching with check/hits/otherwise
- ⚡ Async/await support
- 📦 Comprehensive standard library (string, math, collections)
- 🎮 Interactive REPL
- 🌐 Try it online at https://nocaplang.com/playground
Documentation
Visit https://nocaplang.com for:
- Complete language reference
- Interactive playground
- Tutorials and examples
- Standard library API
Example
lowkey greet(name: text) -> text {
comeback "Yo, " + name + "! 👋"
}
fr names: lineup<text> = ["Alice", "Bob", "Charlie"]
each person in names {
yap(greet(person))
}
License
MIT License
Project details
Release history Release notifications | RSS feed
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 nocaplang-1.0.0.tar.gz.
File metadata
- Download URL: nocaplang-1.0.0.tar.gz
- Upload date:
- Size: 62.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97f4b026a34d55fd6a762b6898770a9e79a12f8ac5db978067822c7d4ff24a19
|
|
| MD5 |
ab254dc0d02b59d05717d718affebc85
|
|
| BLAKE2b-256 |
8b991e4086a7f9bd6e177856e11ac56f915e39b910fffaa6b4afc569bbeb5401
|
File details
Details for the file nocaplang-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nocaplang-1.0.0-py3-none-any.whl
- Upload date:
- Size: 62.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59c950b8d3387a1a2aa4ba3292393b4fc876f7b9eb895d57f89734aa6643382a
|
|
| MD5 |
edffb480c6b33e716c57174fc48fd4b5
|
|
| BLAKE2b-256 |
02278cdc53827a18f53d8500ab57a045dc09804b0b6f51cad1b2c2da055cdb0e
|