RenzMcLang
Bahasa Pemrograman Berbasis Bahasa Indonesia yang Modern dan Powerful
RenzMcLang adalah bahasa pemrograman yang menggunakan sintaks Bahasa Indonesia, dirancang untuk memudahkan pembelajaran pemrograman bagi penutur Bahasa Indonesia sambil tetap menyediakan fitur-fitur modern dan powerful.
Fitur Utama
Sintaks Bahasa Indonesia
- Keyword dalam Bahasa Indonesia yang intuitif
- Error messages yang helpful dalam Bahasa Indonesia
- Dokumentasi lengkap dalam Bahasa Indonesia
Fitur Modern
JIT Compiler (Just-In-Time Compilation)
- Automatic Hot Function Detection - Deteksi otomatis fungsi yang sering dipanggil
- Numba Integration - Kompilasi ke native code menggunakan Numba
- 10-100x Performance Boost - Peningkatan performa signifikan untuk operasi numerik
- Zero Configuration - Bekerja otomatis tanpa setup
- Smart Type Inference - Sistem inferensi tipe untuk optimasi maksimal
- Fallback Safety - Fallback ke interpreter jika kompilasi gagal
Robust Type System
- Optional Type Hints - Type annotations opsional untuk variabel dan fungsi
- Runtime Type Validation - Validasi tipe saat runtime
- Bilingual Type Names - Dukungan nama tipe Indonesia dan Inggris
- Backward Compatible - 100% kompatibel dengan kode tanpa type hints
- Smart Type Inference - Inferensi tipe otomatis
- Clear Error Messages - Pesan error tipe yang jelas dan helpful
Advanced Programming Features
- Lambda Functions - Fungsi anonim untuk functional programming
- Comprehensions - List dan Dict comprehension untuk kode yang ringkas
- Ternary Operator - Kondisi inline yang elegant
- OOP - Object-Oriented Programming dengan class dan inheritance
- Async/Await - Pemrograman asynchronous
- Error Handling - Try-catch-finally yang robust
- Pattern Matching - Switch-case untuk control flow yang elegant
- Decorators - Function dan class decorators
- Generators - Yield untuk lazy evaluation
- Context Managers - With statement untuk resource management
Integrasi Python
- Import dan gunakan library Python
- Akses Python builtins
- Interoperability penuh dengan ekosistem Python
- Call Python functions dari RenzMcLang
- Seamless data type conversion
Built-in Functions Lengkap - 180+ Functions
Core Functions (95+ selalu tersedia):
- Type Conversion (8 functions):
str(),int(),float(),bool(),list(),dict(),tuple(),set() - Input/Output (12 functions):
tampilkan(),input(),baca_file(),tulis_file(),hapus_file(), dll - String Manipulation (25+ functions):
panjang(),huruf_besar(),huruf_kecil(),potong(),ganti(), dll - Mathematics (30+ functions):
abs(),round(),pow(),sqrt(),sin(),cos(),tan(),min(),max(), dll - List & Dictionary (20+ functions):
tambah(),hapus(),urutkan(),balik(), dll
Standard Library Functions (85+ dengan import):
- UUID (9 functions):
buat_uuid4(),buat_uuid1(),uuid_valid(), dll - Base64 (8 functions):
encode_base64(),decode_base64(), dll - Hashlib (18 functions):
hash_md5(),hash_sha256(),hash_sha512(),hmac_hash(), dll - Urllib (15 functions):
parse_url(),encode_url(),gabung_url(), dll - Regular Expression (25 functions):
validasi_email(),extract_angka(),cari_semua(), dll - String Advanced (30+ functions):
acak_alphanumeric(),caesar(),rot13(), dll - Pathlib (20+ functions):
Path(),path_current(),parse_url(), dll - Itertools (25+ functions):
hitung(),siklus(),permutasi(),kombinasi(), dll - Collections (20+ functions):
Antrian(),Tumpukan(),Counter(), dll
Total: 180+ fungsi dalam Bahasa Indonesia!
EXAMPLE WEBSITE YG PAKE BAHASA PEMROGRAMAN RENZMC
Bahasa pemrograman RenzmcLang sekarang sudah punya ekstensi VSCode - cek di GitHub Renzmc Extension
Instalasi
Dari PyPI (Recommended)
pip install renzmc
Dari Source
git clone https://github.com/RenzMc/RenzmcLang.git
cd RenzmcLang
pip install -e .
Verifikasi Instalasi
renzmc --version
Atau jalankan contoh program:
renzmc examples/dasar/01_hello_world.rmc
Quick Start
Hello World
tampilkan "Hello, World!"
Variabel dan Tipe Data
# Deklarasi variabel
nama itu "Budi"
umur itu 25
tinggi itu 175.5
is_student itu benar
# List
hobi itu ["membaca", "coding", "gaming"]
# Dictionary
profil itu {
"nama": "Budi",
"umur": 25,
"kota": "Jakarta"
}
Control Flow
# If-else
jika umur >= 18
tampilkan "Dewasa"
lainnya
tampilkan "Anak-anak"
selesai
# Switch-case
cocok nilai
kasus 1:
tampilkan "Satu"
kasus 2:
tampilkan "Dua"
bawaan:
tampilkan "Lainnya"
selesai
# Ternary operator
status itu "Lulus" jika nilai >= 60 lainnya "Tidak Lulus"
Loops
# For loop
untuk x dari 1 sampai 10
tampilkan x
selesai
# For each
untuk setiap item dari daftar
tampilkan item
selesai
# While loop
selama kondisi
# kode
selesai
# Deklarasi fungsi
fungsi tambah(a, b):
hasil a + b
selesai
# Lambda function
kuadrat itu lambda dengan x -> x * x
# Panggil fungsi
hasil itu tambah(5, 3)
tampilkan hasil # Output: 8
Comprehensions
# List comprehension
kuadrat itu [x * x untuk setiap x dari angka]
# Dengan filter
genap itu [x untuk setiap x dari angka jika x % 2 == 0]
# Dict comprehension
kuadrat_dict itu {x: x * x untuk setiap x dari angka}
OOP
# Definisi class
kelas Mahasiswa:
konstruktor(nama, nim):
diri.nama itu nama
diri.nim itu nim
selesai
metode perkenalan():
tampilkan "Nama: " + diri.nama
tampilkan "NIM: " + diri.nim
selesai
selesai
# Buat instance
mhs itu Mahasiswa("Budi", "12345")
mhs.perkenalan()
Python Integration
// Import library Python
impor_python "requests"
impor_python "json"
// Gunakan library Python
response itu panggil_python requests.get("https://api.example.com/data")
data itu panggil_python json.loads(response.text)
tampilkan data
Dokumentasi Lengkap
Dokumentasi Online
Kunjungi renzmc-docs.vercel.app untuk dokumentasi lengkap dan interaktif.
Dokumentasi Lokal
Lihat folder docs/ untuk dokumentasi lengkap
Contoh Program
Lihat folder examples/ untuk 130+ contoh program yang mencakup:
- Dasar - Hello World, kalkulator, loops
- Intermediate - Sorting algorithms, sistem login
- Advanced - Web scraping, OOP, async/await
- Database - SQLite, MySQL, PostgreSQL, MongoDB
- Web Development - HTTP server, REST API
- Data Processing - CSV, JSON, file operations
- Dan banyak lagi!
Menjalankan Contoh
# Contoh dasar
renzmc examples/dasar/01_hello_world.rmc
# Contoh database
renzmc examples/database/01_sqlite_basic.rmc
# Contoh web scraping
renzmc examples/python_integration/01_web_scraping.rmc
Made with love for Indonesian developers
"Coding in your native language, thinking in your native way"
Links
Star repository ini jika bermanfaat!
Metadata
Release files for renzmc 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| renzmc-1.0.0.tar.gz | 572.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| renzmc-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 874.2 kB
Release files / renzmc-1.0.0.tar.gz
| Download URL | renzmc-1.0.0.tar.gz |
|---|---|
| Size | 572.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
764737380dedd06f91716c96bba9dace7c927dbba863ce8081db2674a56c3569
|
|
BLAKE2b-256 checksum How to use checksums |
af379b72ea0e4d42ce05ed3a1d7a8168f1d1bfa769c6f108294c9830314f1346
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2025.
Transparency logRelease files / renzmc-1.0.0-py3-none-any.whl
| Download URL | renzmc-1.0.0-py3-none-any.whl |
|---|---|
| Size | 301.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e615255aba8698655d090abf82003eefb6403c3e156e287d3df34984e8a80b2
|
|
BLAKE2b-256 checksum How to use checksums |
b25a4e9322b3b498613e620656071923e6e31acb2b59cec58f20563b15d83113
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2025.
Transparency log