Bahasa pemrograman NameScript dengan sintaks Indonesia
Project description
NameScript (NS)
Bahasa pemrograman sederhana dengan sintaks bahasa Indonesia, ditranspilasi ke Python.
Instalasi
pip install namescript
Cara Menggunakan
- Jalankan File Langsung
ns jalankan program.ns
- Cek Versi
ns versi
Sintaks Dasar
- Menampilkan Teks
tampilkan "Halo Dunia!" // Output: Halo Dunia!
- Variabel
d nama = "Budi"
tampilkan "Halo ", <d-nama> // Output: Halo Budi
- Input Pengguna
d umur = masukan("Berapa umurmu? ")
tampilkan "Umurmu: ", <d-umur>
- Operasi Matematika
d hasil = (5 <t> 3) <a> 2 // (5 + 3) * 2 = 16
tampilkan "Hasil: ", <d-hasil>
- Komentar
// Ini adalah komentar
Contoh Program
demo.ns
d nama = masukan("Siapa namamu? ")
tampilkan "Selamat datang, " <d-nama> "!"
d angka1 = 10
d angka2 = 5
d total = d angka1 <t> d angka2 <a> 3 // (10 + 5) * 3
tampilkan "Total: ", <d-total>
Output:
Siapa namamu? Andi
Selamat datang, Andi!
Total: 45
Roadmap Pengembangan
TAHAP 1: BeginnerSyntax (✓ Selesai)
- Variabel, input/output
- Operasi matematika dasar
- CLI sederhana
TAHAP 2: DeepSyntax (Dalam Pengembangan)
- Fungsi custom
- Percabangan jika
- Perulangan ulangi
TAHAP 3: Integrasi Web
- Generator HTML/PHP
- Dukungan sintaks web
TAHAP 4: Package Manager
- Sistem instalasi package
- Dukungan modul eksternal
TAHAP 5: Versi Stabil
- Optimasi performa
- Dokumentasi lengkap
Berkontribusi
- Fork repositori
- Buat branch fitur (
git checkout -b fitur-baru) - Commit perubahan (
git commit -m 'Tambahkan fitur') - Push ke branch (
git push origin fitur-baru) - Buat Pull Request
Lisensi
MIT
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
namescript-1.0rc2.tar.gz
(4.6 kB
view details)
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 namescript-1.0rc2.tar.gz.
File metadata
- Download URL: namescript-1.0rc2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fdd45d78773f2c908628d9e862101f6ad6b2531e467a26036c1de1052c7b74a
|
|
| MD5 |
e712ffacdae82354a571c8b295c3b498
|
|
| BLAKE2b-256 |
d87044abeaa631a28d4d017b74dd60a66ee09750178c4bb0e6283ce536b18b46
|
File details
Details for the file namescript-1.0rc2-py3-none-any.whl.
File metadata
- Download URL: namescript-1.0rc2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88561dfb34997c881ddd03afcbedb21e45832d88a6f6eb6c8abf10439ea03a27
|
|
| MD5 |
0fda3e0138492a2f819d16adabfb67c4
|
|
| BLAKE2b-256 |
cab7f64ef3104582fc5e79d5c2511d7bb5a211575b2e468dd2cc67d9ce05c361
|