All Projects → yalang → ya

yalang / ya

Licence: MIT license
Ya (ي) programming language is an open-source programming language where you can write python code in the Arabic language.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to ya

ara
ع Command line tool that displays Arabic text in terminal.
Stars: ✭ 27 (+0%)
Mutual labels:  arabic
klaam
Arabic speech recognition, classification and text-to-speech.
Stars: ✭ 151 (+459.26%)
Mutual labels:  arabic
StockManager
a JavaFX stock manager app
Stars: ✭ 29 (+7.41%)
Mutual labels:  arabic
language-detector
Detect the language of text
Stars: ✭ 28 (+3.7%)
Mutual labels:  arabic
farasapy
A Python implementation of Farasa toolkit
Stars: ✭ 69 (+155.56%)
Mutual labels:  arabic
qutrub
Qutrub: Arabic verb conjugator
Stars: ✭ 48 (+77.78%)
Mutual labels:  arabic
Huruf
A simple chrome extension to make reading Arabic easier
Stars: ✭ 23 (-14.81%)
Mutual labels:  arabic
alreq
Documenting gaps and requirements for support of Arabic and Persian on the Web and in eBooks.
Stars: ✭ 51 (+88.89%)
Mutual labels:  arabic
RitaFontTester
Auxiliary tool for the development of Persian-Arabic fonts
Stars: ✭ 16 (-40.74%)
Mutual labels:  arabic
arabic-mathjax
Beautiful Arabic Math on all browsers. An extension for MathJax v2.
Stars: ✭ 12 (-55.56%)
Mutual labels:  arabic
Arabic-Word-Embeddings-Word2vec
Arabic Word Embeddings Word2vec
Stars: ✭ 26 (-3.7%)
Mutual labels:  arabic
qahiri
Qahiri (قاهري) is a manuscript Kufic typeface
Stars: ✭ 45 (+66.67%)
Mutual labels:  arabic
amiri
Amiri (أميري) is a body text Naskh typeface
Stars: ✭ 291 (+977.78%)
Mutual labels:  arabic
ar-embeddings
Sentiment Analysis for Arabic Text (tweets, reviews, and standard Arabic) using word2vec
Stars: ✭ 83 (+207.41%)
Mutual labels:  arabic
Nozha-rtl-Dashboard
Nozha is a rtl / ltr Admin Panel with Dark Mode
Stars: ✭ 31 (+14.81%)
Mutual labels:  arabic
arabic-jekyll
ابدأ بالتدوين باستخدام جيكل بلحضات وبدون لمس سطر الأوامر
Stars: ✭ 36 (+33.33%)
Mutual labels:  arabic
persian
Some utilities for Persian language in Go (Golang)
Stars: ✭ 65 (+140.74%)
Mutual labels:  arabic
easy-materialize-rtl
Simple way to set RTL for materializecss.com.
Stars: ✭ 20 (-25.93%)
Mutual labels:  arabic
aref-ruqaa
Aref Ruqaa (رقعة عارف) is a Ruqaa typeface
Stars: ✭ 80 (+196.3%)
Mutual labels:  arabic
tajmeeaton
تجميعة من المشاريع، وخصوصا مفتوحة المصدر، للنهوض باللغة العربية والأمة. 👨‍💻 👨‍🔬👨‍🏫🧕
Stars: ✭ 115 (+325.93%)
Mutual labels:  arabic

ي : لغة البرمجة

Ya (ي) is an open source programming language where you can write python code in arabic language.

It takes the arabic text and convert it into python code and execute it. Which then can be used anywhere. You can code anything which you can code in python.

It is recommended to use IntelliJ IDEA as it support RTL text direction and and it also support .ي extension.

You can add IntelliJ plugin for Ya Language. For installing pluging search 'ي' keyword in plugin tab of intelliJ editor.

اطبع("اهلا و سهلا يا عالم"

Output:

اهلا و سهلا يا عالم
ع = ٧
لو ع ٪ ٢ == ٠:؛
    اطبع("ع الفردية")؛
ولو ٧ == ٠:؛
    اطبع("هذا صفر")؛
اخر:؛
    اطبع("ع الزوجية"

Output:

ع الزوجية
وظيفة جمع(اولا، ثاني):؛
    كل = اولا + ثاني؛
    ارجع كل؛

اطبع("جمع = "، جمع(٢، ٣))؛

Output:

جمع =  ٥

NOTE: ؛ is optional at the end of line

For more sample code see (https://github.com/yalang/examples)

Prerequisites

  • Mac OS or Linux
  • Python 3

Getting Started

Installation

PLEASE NOTE: You need root access for Linux operating system.

  • Clone this repo:
git clone https://github.com/yalang/ya.git
cd ya
  • Run install.sh:
./install.sh
  • Or run Makefile:
make install

Running

  • Create a new file with name اهلا.ي and open in any editor.

  • Write this in the file

اطبع("اهلا و سهلا يا عالم"
  • Save it

  • Open a terminal and go to the folder where file is saved

  • Run this command

ي اهلا
  • It will print
اهلا و سهلا يا عالم

Contributing

You are most welcome to contribute for ya. For guidelines see CONTRIBUTING.md

To get started take a fork of this repository and clone it.

Packages: Python packages is required, with arabic names and functions with arabic names to call the original and existing package functions.

For instance if we need to import tensorflow we can write

استيراد tensorflow مثل تنسر

If we have a package with name تنسر and having function names in arabic which calls the tensorflow actual functions we can write directly as

استيراد تنسر مثل تنسر

Plugins: Plugins for editors to support Ya is required in order to write the code easily.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].