Skip to main content

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 ekspresi
  • prant <a> <b> ... : print multi-arg (memisah arg dengan spasi)
  • function[#annotation] name(params) ... end : definisi fungsi
    • contoh anotasi: function#lang, function#install:{package} (jika install:{...} akan menjalankan pip install pada paket yang ditentukan saat definisi)
  • mark <name> : tandai fungsi/entitas
  • fetch <url> / fecth <url> : fetch sederhana (saat ini hanya menampilkan aksi)
  • import <module_or_file> : import modul Python atau jalankan file .adg
  • for <var> in <iter>: ... end : loop (tutup block dengan end)
  • 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)

Source distribution for angdigo-p1l 0.0.5
File Size Uploaded
angdigo_p1l-0.0.5.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for angdigo-p1l 0.0.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

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