Angdigo P1L — versi 0.0.5
Angdigo P1L adalah eksperimen bahasa pemrograman kecil (interpreter minimal) dengan CLI angd.
Tujuan: prototipe sintaks yang mudah dibaca dan integrasi ringan dengan Python.
Instal:
pip install angdigo-p1l
Quickstart:
angd run example.adg # jalankan file Angdigo
angd repl # REPL interaktif
angd install <package> # pip install <package>
angd update version 0.0.5 # update pyproject & __init__ versi
angd version # tampilkan versi runtime
Fitur bahasa (yang sudah diimplementasikan):
=: assignment (contoh:a = 1 + 2)- Aritmetika:
+,-,*,/,**,% - Boolean:
true,false,false2,false#(dipetakan ke Python True/False) print <expr>: cetak hasil ekspresiprant <a> <b> ...: print multi-arg (memisah arg dengan spasi)function[#annotation] name(params)...end: definisi fungsi- contoh anotasi:
function#lang,function#install:{package}(jikainstall:{...}akan menjalankanpip installpada paket yang ditentukan saat definisi)
- contoh anotasi:
mark <name>: tandai fungsi/entitasfetch <url>/fecth <url>: fetch sederhana (saat ini hanya menampilkan aksi)import <module_or_file>: import modul Python atau jalankan file.adgfor <var> in <iter>:...end: loop (tutup block denganend)control:{key:target ...}: map kontrol ke variabel/fungsi
Catatan & batasan:
- Interpreter ini adalah prototype: ekspresi dievaluasi lewat AST terbatas.
- Beberapa kata kunci yang mungkin terlihat di bahasa (mis.
make,maker,module,main) masih direncanakan atau parsial.
Contoh program: lihat example.adg.
Kontribusi: buka issue atau fork repositori ini untuk mengembangkan fitur lebih lanjut.
Release files for angdigo-p1l 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| angdigo_p1l-0.0.5.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| angdigo_p1l-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / angdigo_p1l-0.0.5.tar.gz
| Download URL | angdigo_p1l-0.0.5.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9611190efe2c24a5486387fdaf30cba3521c7fcca054b09aead1ef731eb4de53
|
|
BLAKE2b-256 checksum How to use checksums |
f2aa6bdca03b0261c8d4e5337d63459eb76d25cd1f339099f058d49765bf8816
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / angdigo_p1l-0.0.5-py3-none-any.whl
| Download URL | angdigo_p1l-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32e23f1f0387e3499f3f6bbd03d85a2a7143c8c6fa4e4acab5c850c3fbca5842
|
|
BLAKE2b-256 checksum How to use checksums |
76a78cd8e3adfda61699561a27635e979c799d43f0421d1f6d7de13a02e2dae6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|