الف (pronounced A-lif) is a programming language written in Urdu, the national language of Pakistan. This is an ongoing project.

You can try it out  here.  The new IDE is currently in  the making by Brian Clifton.

الف  is a tree structured language (LISP) interpreter written in JavsScript using PEG.js . Its tree structure allows it to support multiple  nested arguments.

Currently, الف can multiply, divide, and subtract. It is able to compare two values and execute true cases of an an if statement. Using Processing.js, it can also create rectangles and ellipses.

The long term goal of this project is to explore  how linguistic structures affect programmatic reasoning. In particular, I am interested in exploring how the grammatics of a language can produce different structures of thought.

Role: Concept and programming. I wrote the the code for the tree-walking parser. IDE currently in development by Brian Clifton

Dictionary

+ : شامل

- : منہا

* : گنا

/ : تقسیم

< : <

> : >

= : برابر

if : اگر

canvas : کاغذ

ellipse : دائرہ

rect : چوک

line : لکیر