Welcome to arab-lang, an esoteric programming language where the syntax is entirely in Arabic! This language is designed for experimental and creative purposes rather than practical application.
arab-lang is a unique, Arabic-syntax-based programming language that is intentionally minimalistic and experimental. It allows you to create programs using Arabic keywords and expressions. As an esoteric language, it embraces creativity and exploration over traditional programming stability and performance.
- Arabic Syntax: Write code in Arabic.
- Basic Operations: Supports fundamental operations, arithmetic, and basic JSON handling.
- Easter Eggs: Fun features like the Zen of
arab-lang
and quirky behavior with certain commands.
arab-lang is a work in progress and intentionally designed to be small and buggy. It is far from perfect and is expected to have many quirks and limitations.
Important: This language is in an experimental phase, and its features and behavior are subject to change. Regular updates are anticipated as development continues.
- Clone the Repository:
git clone https://github.com/linuxfandudeguy/arab-lang.git cd arab-lang
Or if you are more of an SSH fellow:
git clone git@github.com:linuxfandudeguy/arab-lang.git
cd arab-lang
-
Run the Interpreter:
python interpret_arab_lang.py <your-file.arab>
Make sure your files have a
.arab
extension.
Create a file with the .arab
extension and write your code using Arabic syntax. For example:
# تعريف دالة
تعريف مضاعف(x):
إرجاع x * 2
# استدعاء دالة
نتيجة = مضاعف(5)
طباعة "النتيجة هي: " + نتيجة
# عمليات رياضية
جذر 25
طباعة "جذر 25 هو: " + result
# التعامل مع السلاسل
نص = "مرحبا بالعالم"
طول نص
طباعة "طول النص هو: " + length
# الحصول على الوقت الحالي
وقت_الآن
طباعة "الوقت الحالي هو: " + current_time
Feel free to contribute to the development of arab-lang by submitting issues, suggestions, or pull requests. Your feedback is valuable!
This language is purely for experimentation and fun. It is not intended for serious software development. Use it at your own risk, and be prepared for unexpected behavior and bugs.
This programming language is unstable so some functions might return errors on execution.