Skip to main content

Bahasa Pemrogramman Jawa (Jawa Programming Language)

Bahasa pemrogramman berbasis python yang dibuat dengan latar belakang gabut,iseng,biar logika coding nggak ilang dikala bingung mau bikin project apaan. Belum diuji coba di os windows, saya baru mengujinya di linux mint.

Authors

Installation

Paling gampang instal langsung lewat pip:

pip install hidup-jawa

Atau kalau mau instal manual dari source:

git clone https://github.com/eksa-arifa/jawa-lang.git
cd jawa-lang
pip install -e .

Cara Menjalankan

Setelah instalasi selesai, kamu bisa menjalankan file .jawa langsung menggunakan perintah jawa:

jawa example/print.jawa

Untuk mengecek versi:

jawa --version

Usage/Examples

Cobalah untuk mengoutputkan sesuatu dengan perintah "tokke". Sekarang sudah bisa menggunakan spasi!

tokke "halo dunia sego pecel"

Selanjutnya, bagaimana dengan variabel?

jane b iku "iki variabel b"

Lihat kode di atas, jane adalah keyword untuk mendeklarasikan variabel, dengan b sebagai key dan string setelah iku sebagai value.

If Else Statement

jane b iku 10

nek b iku 10
    tokke "b iku sepuluh"
nekora
    tokke "b dudu sepuluh"
wes

Dengan nek sebagai if, iku sebagai ==, nekora sebagai else, dan wes sebagai endif.

Elif Statement

jane b iku 10

nek b iku 10
    tokke "b iku 10"
po b iku 15
    tokke "b iku 15"
nekora
    tokke "mbuh ora weruh"
wes

Kalian bisa menuliskan elif statement dengan keyword po.

Function

lelakon apik(params)
    tokke params
wes

lakoni apik("joss tenan")

Deklarasikan fungsi dengan lelakon dan panggil dengan lakoni.

Looping

jane i iku 0

baleni nek i kurangSekoPodoKaro 10
    tokke i
    ganti i dadi i+1
wes

Gunakan baleni nek untuk melakukan perulangan.

Operator List

Operator E Description
iku == Persamaan
udu != Pertidaksamaan
luwihSeko > Perbandingan lebih dari
kurangSeko < Perbandingan kurang dari
luwihSekoPodoKaro >= Perbandingan lebih dari sama dengan
kurangSekoPodoKaro <= Perbandingan kurang dari sama dengan

Tipe Data

Karena jawa-lang berjalan di atas Python, kamu bisa menggunakan semua tipe data Python secara langsung:

  • String: jane jeneng iku "Eksa Arifa"
  • Angka: jane umur iku 20
  • List: jane buah iku ["Mangga", "Apel", "Jeruk"]
  • Dictionary: jane data iku {"id": 1, "status": "aktif"}
  • Boolean: jane bener iku True

Contoh penggunaan List:

jane daftar iku [1, 2, 3]
tokke daftar[0]
wes

Support

For support, belikan saya kopi

License

MIT

Metadata

Release files for hidup-jawa 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hidup-jawa 0.1.7
File Size Uploaded Provenance Actions
hidup_jawa-0.1.7.tar.gz 4.3 kB Without provenance Details for hidup_jawa-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hidup-jawa 0.1.7
File Interpreter ABI Platform Actions
hidup_jawa-0.1.7-py3-none-any.whl Python 3 none any Details for hidup_jawa-0.1.7-py3-none-any.whl

Total release size: 9.1 kB

Release files / hidup_jawa-0.1.7.tar.gz

Download URL hidup_jawa-0.1.7.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7cd392a0aec1e97c40126d420788216544749a63bb4365c931246907e5d687b6
BLAKE2b-256 checksum
How to use checksums
468c1efd2062bb7ad8e30ce4ab678ca74c0035cea6e63e6faa94515c0fa238ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / hidup_jawa-0.1.7-py3-none-any.whl

Download URL hidup_jawa-0.1.7-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
925a27b7b4a52c7d42f158a1817735993417fd6d5176baa234e82f0173c2db83
BLAKE2b-256 checksum
How to use checksums
1b56f2fce77971a5f93788c0628d1dbe97b18766bc7cb0470c6aadb45c713eba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for hidup-jawa 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page